Class ElementPose
- Namespace
- Vintagestory.API.Common
- Assembly
- VintagestoryAPI.dll
The position of an element.
public class ElementPose
- Inheritance
-
ElementPose
- Inherited Members
- Extension Methods
Fields
AnimModelMatrix
The model matrix of this element.
public float[] AnimModelMatrix
Field Value
- float[]
ChildElementPoses
public List<ElementPose> ChildElementPoses
Field Value
ForElement
The element this positioning is for.
public ShapeElement ForElement
Field Value
RotShortestDistanceX
public bool RotShortestDistanceX
Field Value
RotShortestDistanceY
public bool RotShortestDistanceY
Field Value
RotShortestDistanceZ
public bool RotShortestDistanceZ
Field Value
degOffX
public float degOffX
Field Value
degOffY
public float degOffY
Field Value
degOffZ
public float degOffZ
Field Value
degX
public float degX
Field Value
degY
public float degY
Field Value
degZ
public float degZ
Field Value
scaleX
public float scaleX
Field Value
scaleY
public float scaleY
Field Value
scaleZ
public float scaleZ
Field Value
translateX
public float translateX
Field Value
translateY
public float translateY
Field Value
translateZ
public float translateZ
Field Value
Methods
Add(ElementPose, ElementPose, float, float)
public void Add(ElementPose tf, ElementPose tfNext, float l, float weight)
Parameters
tf
ElementPosetfNext
ElementPosel
floatweight
float
Clear()
public void Clear()
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.