Click or drag to resize

SimpleVisualPropertyValueT Constructor (Visual, String, VisualReference)

Construct a SimpleVisualPropertyValue 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 property will be shown in the Simple section of the property grid in the user interface. A property alias will be created for this property if it didn't already exist. 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: 15.0.2.11458
Syntax
C#
public SimpleVisualPropertyValue(
	Visual v,
	string name,
	VisualReference val
)

Parameters

v
Type: Demo3D.VisualsVisual
The visual to find or create the simple custom property for.
name
Type: SystemString
The name of the simple custom property.
val
Type: Demo3D.VisualsVisualReference
The initial visual reference to set the simple custom property value to.
See Also