Méthode | 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.
|
Méthode | 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. |
Résultat | 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. |
Résultat | void |
public GetAnimationUpdateRate ( |
||
material | ||
Résultat | int |
public GetGenerateAllOutputs ( |
||
material | ||
Résultat | bool |
public GetGenerateMipMaps ( |
||
material | ||
Résultat | bool |
public GetMaterialOffset ( |
||
material | ||
Résultat | Vector2 |
public GetMaterialScale ( |
||
material | ||
Résultat | Vector2 |
public SetAnimationUpdateRate ( |
||
material | ||
animation_update_rate | int | |
Résultat | void |
public SetGenerateAllOutputs ( |
||
material | ||
generated | bool | |
Résultat | void |
public SetGenerateMipMaps ( |
||
material | ||
mode | bool | |
Résultat | void |
public SetMaterialOffset ( |
||
material | ||
offset | Vector2 | |
Résultat | void |
public SetMaterialScale ( |
||
material | ||
scale | Vector2 | |
Résultat | void |