Table of Contents

Struct GTreeInstance

Namespace
Pinwheel.Griffin
Assembly
Pinwheel.Polaris.Runtime.dll

Represent a tree rendered by the terrain.

[Serializable]
public struct GTreeInstance
Inherited Members

Properties

Position

Position of the tree in normalized [0-1] space.

PrototypeIndex

Index of the tree prototype in the terrain's prototype list.

Rotation

Rotation in world space.

Scale

Scale in world space.

Methods

Create(int)

Create a new tree instance.

Operators

explicit operator TreeInstance(GTreeInstance)

Cast to Unity's tree instance.

explicit operator GTreeInstance(TreeInstance)

Cast from Unity's tree instance.