Click or drag to resize

TemporaryVisualPropertyValueT(Visual, String, VisualReference) Constructor

Construct a TemporaryVisualPropertyValue 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 a VisualReference. The VisualReference.Visual will be returned in the Visual property and cast to the type T derived from Visual.

Namespace: Demo3D.Native
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public TemporaryVisualPropertyValue(
	Visual v,
	string name,
	VisualReference val
)

Parameters

v  Visual
The visual to find or create the temporary custom property for.
name  String
The name of the temporary custom property.
val  VisualReference
The initial visual reference to set the simple custom property value to.
See Also