PresetTree.Step.Attachment
A class in Root.Township, Alta.Woodcutting.
A tree attachment saved in a preset step: its prefab hash and its local position, rotation and uniform scale on the piece.
- Listed in Crafting and making
- Nested in
PresetTree.Step
Constructors
| Member | What it is |
|---|---|
Attachment() | Creates a PresetTree.Step.Attachment with default values. |
Fields
4 private and internal fields
| Member | What it is |
|---|---|
private uint attachmentHash | Backing field for AttachmentHash. |
private Vector3 position | Backing field for Position. |
private Quaternion rotation | Backing field for Rotation. |
private float scale | Backing field for Scale. |
Properties
| Member | What it is |
|---|---|
uint AttachmentHash { get; set; } | Prefab hash of the TreeAttachment to spawn. |
Vector3 Position { get; set; } | Local position on the parent tree piece. |
Quaternion Rotation { get; set; } | Local rotation on the parent tree piece. |
float Scale { get; set; } | Uniform local scale (only the x scale is saved). |
Used in
Members of other types that take, return or hold a Attachment: