Class ExposedProperty
An utility Class that Accelerates caching of both string properties and their integer values based on Shader.PropertyToID()
Inherited Members
Namespace: UnityEngine.VFX.Utility
Assembly: Unity.VisualEffectGraph.Runtime.dll
Syntax
[Serializable]
public class ExposedProperty
Constructors
Name | Description |
---|---|
ExposedProperty() | Default Constructor |
Methods
Name | Description |
---|---|
ToString() | The string value of this ExposedProperty |
Operators
Name | Description |
---|---|
operator +(ExposedProperty, ExposedProperty) | Implicit string concatenation Operator |
explicit operator string(ExposedProperty) | Converts automatically an ExposedProperty to a string. |
implicit operator ExposedProperty(string) | Creates a new ExposedProperty from a string. |
implicit operator int(ExposedProperty) | Converts automatically an ExposedProperty to an int (based on Shader.PropertyToID()) |