Delegate GameObjectInstantiator.MeshAddedDelegate
Provides information for when a mesh was added to a node GameObject
Namespace: GLTFast
Assembly: solution.dll
Syntax
public delegate void GameObjectInstantiator.MeshAddedDelegate(GameObject gameObject, uint nodeIndex, string meshName, MeshResult meshResult, uint[] joints = null, uint? rootJoint = null, float[] morphTargetWeights = null, int primitiveNumeration = 0)
Parameters
Type | Name | Description |
---|---|---|
GameObject | gameObject | GameObject that holds the Msh. |
uint | nodeIndex | Index of the node |
string | meshName | Mesh's name |
MeshResult | meshResult | The converted Mesh |
uint[] | joints | If a skin was attached, the joint indices. Null otherwise |
uint? | rootJoint | Root joint node index, if present |
float[] | morphTargetWeights | Morph target weights, if present |
int | primitiveNumeration | Primitives are numerated per Node, starting with 0 |