Interface IShaderProperty
Syntax
public interface IShaderProperty
Properties
defaultValue
Declaration
Vector4 defaultValue { get; }
Property Value
displayName
Declaration
string displayName { get; set; }
Property Value
Type |
Description |
System.String |
|
generatePropertyBlock
Declaration
bool generatePropertyBlock { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
guid
Declaration
Property Value
isBatchable
Declaration
bool isBatchable { get; }
Property Value
Type |
Description |
System.Boolean |
|
overrideReferenceName
Declaration
string overrideReferenceName { get; set; }
Property Value
Type |
Description |
System.String |
|
propertyType
Declaration
PropertyType propertyType { get; }
Property Value
referenceName
Declaration
string referenceName { get; }
Property Value
Type |
Description |
System.String |
|
Methods
Copy()
Declaration
Returns
GetPreviewMaterialProperty()
Declaration
PreviewProperty GetPreviewMaterialProperty()
Returns
GetPropertyAsArgumentString()
Declaration
string GetPropertyAsArgumentString()
Returns
Type |
Description |
System.String |
|
GetPropertyBlockString()
Declaration
string GetPropertyBlockString()
Returns
Type |
Description |
System.String |
|
GetPropertyDeclarationString(String)
Declaration
string GetPropertyDeclarationString(string delimiter = ";")
Parameters
Type |
Name |
Description |
System.String |
delimiter |
|
Returns
Type |
Description |
System.String |
|
ToConcreteNode()
Declaration
Returns