C# Class UnityEngine.ProceduralMaterial

Inheritance: Material
Mostra file Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
GetProceduralColor ( string inputName ) : Color

Get a named Procedural color property.

GetProceduralVector ( string inputName ) : Vector4

Get a named Procedural vector property.

SetProceduralColor ( string inputName, Color value ) : void

Set a named Procedural color property.

SetProceduralVector ( string inputName, Vector4 value ) : void

Set a named Procedural vector property.

Private Methods

Method Description
CacheProceduralProperty ( string inputName, bool value ) : void
ClearCache ( ) : void
FreezeAndReleaseSourceData ( ) : void
GetGeneratedTexture ( string textureName ) : ProceduralTexture
GetGeneratedTextures ( ) : UnityEngine.Texture[]
GetProceduralBoolean ( string inputName ) : bool
GetProceduralEnum ( string inputName ) : int
GetProceduralFloat ( string inputName ) : float
GetProceduralPropertyDescriptions ( ) : UnityEngine.ProceduralPropertyDescription[]
GetProceduralTexture ( string inputName ) : Texture2D
HasProceduralProperty ( string inputName ) : bool
INTERNAL_CALL_GetProceduralColor ( ProceduralMaterial self, string inputName, Color &value ) : void
INTERNAL_CALL_GetProceduralVector ( ProceduralMaterial self, string inputName, Vector4 &value ) : void
INTERNAL_CALL_SetProceduralColor ( ProceduralMaterial self, string inputName, Color &value ) : void
INTERNAL_CALL_SetProceduralVector ( ProceduralMaterial self, string inputName, Vector4 &value ) : void
IsProceduralPropertyCached ( string inputName ) : bool
IsProceduralPropertyVisible ( string inputName ) : bool
ProceduralMaterial ( ) : System
RebuildTextures ( ) : void
RebuildTexturesImmediately ( ) : void
SetProceduralBoolean ( string inputName, bool value ) : void
SetProceduralEnum ( string inputName, int value ) : void
SetProceduralFloat ( string inputName, float value ) : void
SetProceduralTexture ( string inputName, Texture2D value ) : void
StopRebuilds ( ) : void

Method Details

GetProceduralColor() public method

Get a named Procedural color property.

public GetProceduralColor ( string inputName ) : Color
inputName string
return Color

GetProceduralVector() public method

Get a named Procedural vector property.

public GetProceduralVector ( string inputName ) : Vector4
inputName string
return Vector4

SetProceduralColor() public method

Set a named Procedural color property.

public SetProceduralColor ( string inputName, Color value ) : void
inputName string
value Color
return void

SetProceduralVector() public method

Set a named Procedural vector property.

public SetProceduralVector ( string inputName, Vector4 value ) : void
inputName string
value Vector4
return void