Class PhysicsRenderEntityAuthoring
Inherited Members
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: Unity.Physics.Authoring
Syntax
[AddComponentMenu("DOTS/Physics/Physics Render Entity")]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.physics@0.51/api/Unity.Physics.Authoring.PhysicsRenderEntityAuthoring.html")]
[DisallowMultipleComponent]
public sealed class PhysicsRenderEntityAuthoring : MonoBehaviour, IConvertGameObjectToEntity
Fields
RenderEntity
Declaration
[Tooltip("Specifies an Entity in a different branch of the hierarchy that holds the graphical representation of this PhysicsShape.")]
public GameObject RenderEntity
Field Value
Type | Description |
---|---|
GameObject |
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 |