Class SSIHelper
Static class containing utility functions for Controls and Inspectors.
Syntax
public static class SSIHelper
Methods
| Name |
Description |
|
FetchProperties(IEnumerable<SimpleControl>, MaterialProperty[])
|
Fetches properties for all the given controls.
|
|
FindNonAnimatablePropertyControls(IEnumerable<SimpleControl>)
|
Finds all controls that implement the INonAnimatableProperty interface.
|
|
GetTextureDestinationPath(Material, String)
|
Get a path to save a texture relative to the material.
|
|
SaveAndGetTexture(Texture2D, String, TextureWrapMode)
|
Saves a texture to a specified path, and returns a reference of the new asset.
|
|
SaveTexture(Texture2D, String, TextureWrapMode)
|
Saves a texture to a specified path.
|
|
SetInspector(IEnumerable<SimpleControl>, ISimpleShaderInspector, Boolean)
|
Set the inspector of each control of the list.
|
|
SetNonAnimatableProperties(MaterialEditor, IEnumerable<INonAnimatableProperty>)
|
|
|
SetTextureImporterAlpha(Texture2D, Boolean)
|
Set the texture alphaIsTransparency value.
|
|
SetTextureImporterReadable(Texture2D, Boolean)
|
Set the texture readable state.
|
|
UpdateNonAnimatableProperties(IEnumerable<INonAnimatableProperty>, MaterialEditor, Boolean)
|
Updates properties that are set to not be recorded during animation recording.
|