Table of Contents

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

List<ElementPose>

ForElement

The element this positioning is for.

public ShapeElement ForElement

Field Value

ShapeElement

RotShortestDistanceX

public bool RotShortestDistanceX

Field Value

bool

RotShortestDistanceY

public bool RotShortestDistanceY

Field Value

bool

RotShortestDistanceZ

public bool RotShortestDistanceZ

Field Value

bool

degOffX

public float degOffX

Field Value

float

degOffY

public float degOffY

Field Value

float

degOffZ

public float degOffZ

Field Value

float

degX

public float degX

Field Value

float

degY

public float degY

Field Value

float

degZ

public float degZ

Field Value

float

scaleX

public float scaleX

Field Value

float

scaleY

public float scaleY

Field Value

float

scaleZ

public float scaleZ

Field Value

float

translateX

public float translateX

Field Value

float

translateY

public float translateY

Field Value

float

translateZ

public float translateZ

Field Value

float

Methods

Add(ElementPose, ElementPose, float, float)

public void Add(ElementPose tf, ElementPose tfNext, float l, float weight)

Parameters

tf ElementPose
tfNext ElementPose
l float
weight 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.