Table of Contents

Class GRendering

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

Sub asset type containing configurations of terrain and foliage rendering, such as shadow options, render distance, LOD distance, etc. This should not be used alone without a parent terrain data object. In most case you dont instantiate this with ScriptableObject.Create. The correct way to access this is terrain.TerrainData.Rendering

public class GRendering : ScriptableObject
Inheritance
Object
ScriptableObject
GRendering
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

BillboardStart

The distance from camera where it starts rendering tree as billboard.

CastShadow

Should terrain geometry cast shadow?

DrawGrasses

Should it draw grass using builtin renderer?

DrawTrees

Should it draw trees using builtin renderer?

GrassDistance

Maximum distance from camera where grass is visible.

GrassFadeStart

Distance from the camera where grass start fading out, in relative range of [0, grassDistance]

GrassLod1Start

Distance from camera where it starts rendering grass at LOD1.

ReceiveShadow

Should terrain geometry receive shadow?

TerrainData

The parent terrain data object.

TreeDistance

Maximum distance from camera where tree is visible.

TreeLod1Start

The distance from camera where it starts rendering tree at LOD1

Methods

CopyTo(GRendering)

Copy numeric settings to other object.