Method | Description | |
---|---|---|
ExportBitmaps ( |
Export the bitmaps generated by a ProceduralMaterial as TGA files.
|
|
ExportPreset ( |
Export a XML preset string with the value of all parameters of a given ProceduralMaterial to the specified folder.
|
|
GetAnimationUpdateRate ( |
Get the ProceduralMaterial animation update rate in millisecond.
|
|
GetGenerateAllOutputs ( |
Check if the ProceduralMaterial needs to force generation of all its outputs.
|
|
GetGenerateMipMaps ( |
Return true if the mipmaps are generated for this ProceduralMaterial.
|
|
GetMaterialOffset ( |
Get the material offset, which is used for all the textures that are part of this ProceduralMaterial.
|
|
GetMaterialScale ( |
Get the material scale, which is used for all the textures that are part of this ProceduralMaterial.
|
|
SetAnimationUpdateRate ( |
Set the ProceduralMaterial animation update rate in millisecond.
|
|
SetGenerateAllOutputs ( |
Specify if the ProceduralMaterial needs to force generation of all its outputs.
|
|
SetGenerateMipMaps ( |
Force the generation of mipmaps for this ProceduralMaterial.
|
|
SetMaterialOffset ( |
Set the material offset, which is used for all the textures that are part of this ProceduralMaterial.
|
|
SetMaterialScale ( |
Set the material scale, which is used for all the textures that are part of this ProceduralMaterial.
|
Method | Description | |
---|---|---|
CanShaderPropertyHostProceduralOutput ( string name, ProceduralOutputType substanceType ) : bool | ||
ClearPlatformTextureSettings ( string materialName, string platform ) : void | ||
CloneMaterial ( |
||
DestroyMaterial ( |
||
ExportBitmapsInternal ( |
||
GetMaterialCount ( ) : int | ||
GetMaterialInformation ( |
||
GetMaterials ( ) : UnityEngine.ProceduralMaterial[] | ||
GetPlatformTextureSettings ( string materialName, string platform, int &maxTextureWidth, int &maxTextureHeight, int &textureFormat, int &loadBehavior ) : bool | ||
GetPrototypeNames ( ) : string[] | ||
GetTextureAlphaSource ( |
||
InstantiateMaterial ( string prototypeName ) : string | ||
IsProceduralTextureSlot ( |
||
IsSubstanceParented ( |
||
OnShaderModified ( |
||
OnTextureInformationsChanged ( |
||
RenameMaterial ( |
||
ResetMaterial ( |
||
SetMaterialInformation ( |
||
SetPlatformTextureSettings ( |
||
SetTextureAlphaSource ( |
public ExportBitmaps ( |
||
material | The ProceduralMaterial whose output textures will be saved. | |
exportPath | string | Path to a folder where the output bitmaps will be saved. The folder will be created if it doesn't already exist. |
alphaRemap | bool | Indicates whether alpha channel remapping should be performed. |
return | void |
public ExportPreset ( |
||
material | The ProceduralMaterial whose preset string will be saved. | |
exportPath | string | Path to a folder where the preset file will be saved. The folder will be created if it doesn't already exist. |
return | void |
public GetAnimationUpdateRate ( |
||
material | ||
return | int |
public GetGenerateAllOutputs ( |
||
material | ||
return | bool |
public GetGenerateMipMaps ( |
||
material | ||
return | bool |
public GetMaterialOffset ( |
||
material | ||
return | Vector2 |
public GetMaterialScale ( |
||
material | ||
return | Vector2 |
public SetAnimationUpdateRate ( |
||
material | ||
animation_update_rate | int | |
return | void |
public SetGenerateAllOutputs ( |
||
material | ||
generated | bool | |
return | void |
public SetGenerateMipMaps ( |
||
material | ||
mode | bool | |
return | void |
public SetMaterialOffset ( |
||
material | ||
offset | Vector2 | |
return | void |
public SetMaterialScale ( |
||
material | ||
scale | Vector2 | |
return | void |