Table of Contents

Class AttachmentPoint

Namespace
Vintagestory.API.Common
Assembly
VintagestoryAPI.dll

This is a spot on the shape that connects to another shape.

[JsonObject(MemberSerialization.OptIn)]
public class AttachmentPoint
Inheritance
AttachmentPoint
Inherited Members
Extension Methods

Fields

Code

The json code of this attachment point.

[JsonProperty]
public string Code

Field Value

string

ParentElement

The parent element of this attachment point.

public ShapeElement ParentElement

Field Value

ShapeElement

PosX

The X position of the attachment point.

[JsonProperty]
public double PosX

Field Value

double

PosY

The Y position of the attachment point.

[JsonProperty]
public double PosY

Field Value

double

PosZ

The Z position of the attachment point.

[JsonProperty]
public double PosZ

Field Value

double

RotationX

The forward vertical rotation of the attachment point.

[JsonProperty]
public double RotationX

Field Value

double

RotationY

The forward horizontal rotation of the attachment point

[JsonProperty]
public double RotationY

Field Value

double

RotationZ

the left/right tilt of the attachment point

[JsonProperty]
public double RotationZ

Field Value

double