newspeoplefor developersdocumentationdownloads

nSkinShapeNode Script Interface

nskinshapenode:

Super Class:

C++ Class:

Info

A shape node which is deformed by an nSkinAnimator object.

Commands:


setskinanimator

Command Input:
s(RelPath)
Command Output:
v
Command Description:
Set relative path to a skin animator object.

getskinanimator

Command Input:
v
Command Output:
s(RelPath)
Command Description:
Get relative path to a skin animator object.

beginfragments

Command Input:
i(NumFragments)
Command Output:
v
Command Description:
Begin defining skin fragments. Skin fragments define their own limited size joint palette.

setfraggroupindex

Command Input:
i(FragmentIndex), i(MeshGroupIndex)
Command Output:
v
Command Description:
Set a mesh group index. This is the portion of the mesh resource which this skin fragment renders.

getfraggroupindex

Command Input:
i(FragmentIndex)
Command Output:
i(MeshGroupIndex)
Command Description:
Get a mesh group index.

beginjointpalette

Command Input:
i(FragmentIndex), i(JointPaletteSize)
Command Output:
v
Command Description:
Begin defining the joint palette of a fragment.

setjointindices

Command Input:
i(FragmentIndex), i(PaletteStartIndex), i...(JointIndices)
Command Output:
v
Command Description:
Set up to 8 joint indices in a joint palette.

endjointpalette

Command Input:
i(FragmentIndex)
Command Output:
v
Command Description:
Finish defining a fragment's joint palette.

endfragments

Command Input:
v
Command Output:
v
Command Description:
Finish defining fragments.

setchar3variationflag

Command Input:
v
Command Output:
v
Command Description:
Sets the character3 variation flag

getnumfragments

Command Input:
v
Command Output:
i(NumFragments)
Command Description:
Get number of fragments in skin.

getjointpalettesize

Command Input:
i(FragmentIndex)
Command Output:
i(JointPaletteSize)
Command Description:
Get joint palette size in a fragment.

getjointindex

Command Input:
i(FragmentIndex), i(PaletteIndex)
Command Output:
i(JointIndex)
Command Description:
Get the joint index at a fragment's joint palette index.

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