Table of Contents

Property texture

Namespace
Pinwheel.Vista
Assembly
Pinwheel.Vista.Runtime.dll

texture

Gets or sets the main texture used by grass-style detail modes.

public Texture2D texture { get; set; }

Property Value

Texture2D

Remarks

Unity Terrain assigns this texture to UnityEngine.DetailPrototype.prototypeTexture when renderMode is not UnityEngine.DetailRenderMode.VertexLit. Polaris uses it to build clump-based grass prototypes. This field is ignored for mesh-based details.