newspeoplefor developersdocumentationdownloads

nShapeNode Script Interface

nshapenode:

Super Class:

Subclasses:

C++ Class:

Info

This one can render a simple static mesh.

Commands:


setmesh

Command Input:
s(MeshResource)
Command Output:
v
Command Description:
Set the name of the mesh resource.

getmesh

Command Input:
v
Command Output:
s(MeshResource)
Command Description:
Get the name of the mesh resource.

setneedsvertexshader

Command Input:
b(needsVertexShader)
Command Output:
v
Command Description:
Set vertex shader mesh usage flag for this node.

getneedsvertexshader

Command Input:
v
Command Output:
b(needsVertexShader)
Command Description:
Get vertex shader mesh usage flag for this node.

setgroupindex

Command Input:
i(GroupIndex)
Command Output:
v
Command Description:
Set the group index inside the mesh resource.

getgroupindex

Command Input:
v
Command Output:
i(GroupIndex)
Command Description:
Get the group index inside the mesh resource.

setmeshresourceloader

Command Input:
o(ResourceLoader)
Command Output:
v
Command Description:
Set the NOH path for the mesh resource loader.

getmeshresourceloader

Command Input:
v
Command Output:
o(ResourceLoader)
Command Description:
Get the NOH path for the mesh resource loader.

Copyright © 1999-2005 by the contributing authors. Ideas, requests, problems: Send feedback.