Class DOTSDynamicBonesComponent
This is a component that creates a multiple DOTSDynamicBone_BufferElements onto an Entity.
Inheritance
System.Object
DOTSDynamicBonesComponent
Implements
IConvertGameObjectToEntity
Namespace: DOTSDynamicBone
Assembly: cs.temp.dll.dll
Syntax
public class DOTSDynamicBonesComponent : MonoBehaviour, IConvertGameObjectToEntity
Remarks
This is a component that creates a multiple DOTSDynamicBone_BufferElements onto an Entity.
Fields
Bones
Declaration
public List<DOTSDynamicBoneClass> Bones
Field Value
| Type | Description |
|---|---|
| List<DOTSDynamicBoneClass> |
RigComponent
Declaration
public RigComponent RigComponent
Field Value
| Type | Description |
|---|---|
| RigComponent |
Methods
Convert(Entity, EntityManager, GameObjectConversionSystem)
Declaration
public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
Parameters
| Type | Name | Description |
|---|---|---|
| Entity | entity | |
| EntityManager | dstManager | |
| GameObjectConversionSystem | conversionSystem |
GetMeshRenderers(RigComponent)
This returns a list of SkinnedMeshedRenderers attach to the given RigComponent
Declaration
public List<SkinnedMeshRenderer> GetMeshRenderers(RigComponent rig)
Parameters
| Type | Name | Description |
|---|---|---|
| RigComponent | rig |
Returns
| Type | Description |
|---|---|
| List<SkinnedMeshRenderer> |
Start()
Declaration
public void Start()
Implements
IConvertGameObjectToEntity