Class ExposedProperty
An utility Class that Accelerates caching of both string properties and their integer values based on Shader.PropertyToID()
Inheritance
ExposedProperty
Syntax
public class ExposedProperty : object
Constructors
ExposedProperty()
Declaration
Methods
ToString()
The string value of this ExposedProperty
Declaration
public override string ToString()
Returns
Operators
Addition(ExposedProperty, ExposedProperty)
Implicit string concatenation Operator
Declaration
public static ExposedProperty operator +(ExposedProperty self, ExposedProperty other)
Parameters
Returns
Explicit(ExposedProperty to String)
Converts automatically an ExposedProperty to a string
Declaration
public static explicit operator string (ExposedProperty parameter)
Parameters
Returns
Implicit(String to ExposedProperty)
Creates a new ExposedProperty from a string.
Declaration
public static implicit operator ExposedProperty(string name)
Parameters
| Type |
Name |
Description |
| String |
name |
the string desired name
|
Returns
Implicit(ExposedProperty to Int32)
Converts automatically an ExposedProperty to an int (based on Shader.PropertyToID())
Declaration
public static implicit operator int (ExposedProperty parameter)
Parameters
Returns