Table of Contents

Class TreeTemplate

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll
[CreateAssetMenu(menuName = "Vista/Tree Template")]
[HelpURL("https://docs.google.com/document/d/1zRDVjqaGY2kh4VXFut91oiyVCUex0OV5lTUzzCSwxcY/edit#heading=h.hi9q6ixwiw7i")]
public class TreeTemplate : ScriptableObject
Inheritance
Object
ScriptableObject
TreeTemplate
Inherited Members
ScriptableObject.SetDirty()
ScriptableObject.CreateInstance<T>()
Object.GetInstanceID()
Object.GetHashCode()
Object.Instantiate(Object, Vector3, Quaternion)
Object.Instantiate(Object, Vector3, Quaternion, Transform)
Object.Instantiate(Object)
Object.Instantiate(Object, Transform)
Object.Instantiate<T>(T)
Object.Instantiate<T>(T, Vector3, Quaternion)
Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
Object.Instantiate<T>(T, Transform)
Object.Destroy(Object)
Object.DestroyImmediate(Object)
Object.DontDestroyOnLoad(Object)
Object.DestroyObject(Object)
Object.FindObjectsOfType<T>()
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindObjectOfType<T>()
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Object.ToString()
Object.name
Object.hideFlags

Properties

baseRotation

Gets or sets the base rotation applied to the tree prefab before per-instance rotation.

baseScale

Gets or sets the base scale applied to the tree prefab before per-instance scale variation.

bendFactor

Gets or sets the bend factor used by tree renderers that support wind bending.

billboard

Gets or sets the billboard asset used by Polaris tree prototypes.

billboardReceiveShadow

Gets or sets whether billboard renderers should receive shadows in Polaris.

billboardShadowCastingMode

Gets or sets the shadow-casting mode for billboard rendering in Polaris.

keepPrefabLayer

Gets or sets whether the prefab's original layer should be preserved.

layer

Gets or sets the layer assigned to spawned tree objects in integrations that support explicit tree layers.

navMeshLod

Gets or sets the NavMesh LOD index for Unity Terrain tree prototypes.

pivotOffset

Gets or sets the normalized pivot offset used by backends that expose tree pivot adjustment.

prefab

Gets or sets the primary prefab used to create tree prototypes.

prefabVariants

Gets or sets additional prefab variants that can produce extra tree prototypes.

receiveShadow

Gets or sets whether tree renderers should receive shadows.

shadowCastingMode

Gets or sets the shadow-casting mode for the main tree prefab in Polaris.

Methods

IsValid()

Tests whether the template has the minimum data required to build tree prototypes.

Reset()

Restores the template to Vista's default tree settings.