Struct TransformParent
User assigned parent Entity. Local transformations (e.g. LocalPosition, LocalRotation) will be relative to the object to world matrix associated with the parent entity. The parent's object to world matrix may only be temporary if it's not explicitly stored in a TransformMatrix.
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
Namespace: Unity.Transforms
Syntax
public struct TransformParent : IComponentData
Constructors
TransformParent(Entity)
Declaration
public TransformParent(Entity parent)
Parameters
Type | Name | Description |
---|---|---|
Entity | parent |
Fields
Value
Declaration
public Entity Value
Field Value
Type | Description |
---|---|
Entity |