Results from loading a mesh
More...
|
void | LinkWithRig (RigItem rigItem, bool zeroOut=true) |
| This call will bind the mesh to the rig meaning the skinning solution will be converted from raw values to the actual bones More...
|
|
void | LinkWithMaterials (CompoundItem ci, bool showUponCompletion=false) |
| Associate the compound item's materials with this mesh This makes the assumption that your material item comps already exist and your UnityMaterials are built on them More...
|
|
|
GameObject | gameObject |
| This is the object we're creating or updating. Optional to set this, if one is not set, one will be created on Load.
|
|
MeshItem | meshItem |
| The loaded MeshItem
|
|
Results from loading a mesh
◆ LinkWithMaterials()
void Astra.Asset.MeshLoadJob.MeshLoadResult.LinkWithMaterials |
( |
CompoundItem |
ci, |
|
|
bool |
showUponCompletion = false |
|
) |
| |
|
inline |
Associate the compound item's materials with this mesh This makes the assumption that your material item comps already exist and your UnityMaterials are built on them
The result of this function is that your materials will be bound to the renderer component
- Parameters
-
◆ LinkWithRig()
void Astra.Asset.MeshLoadJob.MeshLoadResult.LinkWithRig |
( |
RigItem |
rigItem, |
|
|
bool |
zeroOut = true |
|
) |
| |
|
inline |
This call will bind the mesh to the rig meaning the skinning solution will be converted from raw values to the actual bones
During things like avatar loading we can be more efficient by only loading 1 rig item, then linking it here
- Parameters
-
The documentation for this class was generated from the following file:
- Assets/Astra/Asset/Mesh/MeshLoadJob.cs