TemporaryPropertyValueT(Visual, String, T) Constructor |
Construct a TemporaryPropertyValue for a given visual and custom property name.
This will create the custom property if it doesn't exist and ensure the type of the value is T.
This temporary custom property will not persist (not be saved to disk).
Namespace: Demo3D.NativeAssembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntaxpublic TemporaryPropertyValue(
Visual v,
string propertyName,
T initialValue
)
Parameters
- v Visual
- The visual to find or create the temporary custom property for.
- propertyName String
- The name of the temporary custom property.
- initialValue T
- The initial value of the temporary custom property.
See Also