Weighting interface for meshes. This class is experimental.
Public Member Functions |
|
int | ClusterBegin (int pIndex=-1) |
Begin cluster definition. |
|
int | ClusterEnd (bool pQueryOnly=False) |
End cluster definition. |
|
LinkClearUnused (float pThreshold=-1.0) | |
Remove all unused links. |
|
FBModel | LinkGetAssociateModel (int pLinkNumber) |
Get model associated with link. |
|
int | LinkGetCount () |
Get number of links. |
|
FBModel | LinkGetModel (int pLinkNumber) |
Get model from a link. |
|
str | LinkGetName (int pLinkNumber) |
Get the name of a link. |
|
int | LinkGetVertexIndex (int pIndex) |
Get current vertex at link. |
|
LinkRemove (int pLinkNumber) | |
Remove a link. |
|
LinkSetCurrentVertex (int pLinkIndex, int pPointIndex) | |
Link at current vertex. |
|
LinkSetModel (FBModel pModel) | |
Set model to a link. |
|
LinkSetName (str pName, int pLinkNumber) | |
Set the name of a link. |
|
VertexAdd (int pVertexIndex, float pWeight) | |
Add a vertex to a cluster. |
|
VertexClear () | |
Clear all linked vertices. |
|
int | VertexGetCount () |
Get the number of vertices. |
|
int | VertexGetNumber (int pIndex) |
Get vertex number. |
|
VertexGetTransform (FBVector3d pPosition, FBVector3d pRotation, FBVector3d pScaling) | |
Get transform of a cluster set. |
|
float | VertexGetWeight (int pIndex) |
Get vertex weight. |
|
VertexRemove (int pVertexIndex) | |
Remove a vertex from a cluster. |
|
VertexSetTransform (FBVector3d pPosition, FBVector3d pRotation, FBVector3d pScaling) | |
Set transform of a cluster set. |
|
VertexSetWeight (float pWeight, int pIndex) | |
Set vertex weight. |
|
Public Attributes |
|
float | ClusterAccuracy |
Read Write Property: Cluster
accuracy. |
|
FBClusterMode | ClusterMode |
Read Write Property: Cluster mode.
|
Begin cluster definition.
pIndex | Link index. |
End cluster definition.
pQueryOnly | Were the operations on the cluster non-destructive? |
LinkClearUnused | ( | float | pThreshold = -1.0 |
) |
Remove all unused links.
pThreshold | Weight value under which links are considered unused (default=-1). |
Get model associated with link.
pLinkNumber | Nubmer value of link to get associated model from. |
int LinkGetCount | ( | ) |
Get number of links.
Get model from a link.
pLinkNumber | Number value of link to get model from. |
Get the name of a link.
pLinkNumber | Number value of link to get name from. |
Get current vertex at link.
pIndex | Index of link to get vertex from. |
LinkRemove | ( | int | pLinkNumber | ) |
Remove a link.
pLinkNumber | Number value of link to rename. |
Link at current vertex.
pLinkIndex | Index of link to add vertex to. | |
pPointIndex | Index of vertex to add. |
LinkSetModel | ( | FBModel | pModel | ) |
Set model to a link.
pModel | Model to set. |
Set the name of a link.
pName | Name of the link. | |
pLinkNumber | Number value of link to name. |
Add a vertex to a cluster.
pVertexIndex | Index of vertex to add. | |
pWeight | Weight to give to vertex. |
VertexClear | ( | ) |
Clear all linked vertices.
int VertexGetCount | ( | ) |
Get the number of vertices.
Get vertex number.
pIndex | Index of link to get vertex from. |
VertexGetTransform | ( | FBVector3d | pPosition, | |
FBVector3d | pRotation, | |||
FBVector3d | pScaling | |||
) |
Get transform of a cluster set.
pPosition | Position transform. | |
pRotation | Rotation transform. | |
pScaling | Scaling transform. |
Get vertex weight.
pIndex | Index of link to get vertex from. |
VertexRemove | ( | int | pVertexIndex | ) |
Remove a vertex from a cluster.
pVertexIndex | Index of vertex to remove. |
VertexSetTransform | ( | FBVector3d | pPosition, | |
FBVector3d | pRotation, | |||
FBVector3d | pScaling | |||
) |
Set transform of a cluster set.
pPosition | Position transform. | |
pRotation | Rotation transform. | |
pScaling | Scaling transform. |
Set vertex weight.
pWeight | Weight to give to vertex. | |
pIndex | Index of link to get vertex from. |
Read Write Property: Cluster accuracy.
Read Write Property: Cluster mode.