Class for interpolating between up to 8 similar meshes.
- Command Input:
i(index) s(MeshResource)
- Command Output:
v
- Command Description:
- Set the name of the mesh resource for the specified index. The mesh at stream 0 must provide the index buffer for all meshes.
- Command Input:
i(index)
- Command Output:
s(MeshResource)
- Command Description:
- Get the name of the mesh resource for the specified index.
- Command Input:
v
- Command Output:
i(NumShapes)
- Command Description:
- Get the number of shapes.
- Command Input:
i(GroupIndex)
- Command Output:
v
- Command Description:
- Set the mesh group index
- Command Input:
v
- Command Output:
i(GroupIndex)
- Command Description:
- Get the mesh group index
- Command Input:
i(shapeIndex), f(midX), f(midY), f(midZ), f(extentX), f(extentY), f(extentZ)
- Command Output:
v
- Command Description:
- Define the local bounding box for a shape. Shape node compute their bounding box automatically at load time. This method can be used to define bounding boxes for other nodes. This may be useful for higher level code like gameframeworks. Nebula itself only uses bounding boxes defined on shape nodes.
- Command Input:
i(shapeIndex)
- Command Output:
f(midX), f(midY), f(midZ), f(extentX), f(extentY), f(extentZ)
- Command Description:
- Return the local bounding box for a shape.
- Command Input:
i(shapeIndex), f(weight)
- Command Output:
v
- Command Description:
- Set the weight of a particular shape.
- Command Input:
i(shapeIndex)
- Command Output:
f(weight)
- Command Description:
- Return the weight for a particular shape.