Click or drag to resize

TemporaryVisualPropertyValueT Class

Class to make it easier to work with VisualReference temporary properties.
Inheritance Hierarchy

Namespace: Demo3D.Native
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public class TemporaryVisualPropertyValue<T> : TemporaryPropertyValue<VisualReference>
where T : Visual

Type Parameters

T
Type of visual, e.g. ConveyorVisual, PhotoEye etc.

The TemporaryVisualPropertyValueT type exposes the following members.

Constructors
 NameDescription
Public methodTemporaryVisualPropertyValueT(Visual, String) 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.
Public methodTemporaryVisualPropertyValueT(Visual, String, VisualReference) 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.
Top
Properties
 NameDescription
Public propertyCategory Category of the custom property.
(Inherited from BaseCustomPropertyValue)
Public propertyDescription Description of the custom property.
(Inherited from BaseCustomPropertyValue)
Public propertyExportProperty Mark a bindable item for FMU / multi-model export.
(Inherited from BaseCustomPropertyValue)
Public propertyHidden Whether the custom property is hidden (from the user interface).
(Inherited from BaseCustomPropertyValue)
Public propertyInitialExpression The expression to initialize the custom property to OnInitialize.
(Inherited from BaseCustomPropertyValue)
Public propertyName Name of the custom property.
(Inherited from BaseCustomPropertyValue)
Public propertyPersistent Whether the custom property is persistent (gets written to disk) or is temporary (not written to disk).
(Inherited from BaseCustomPropertyValue)
Public propertyReadOnly Whether the custom property is read only.
(Inherited from BaseCustomPropertyValue)
Public propertyType Type of the custom property value.
(Inherited from BaseCustomPropertyValue)
Public propertyUpdatedScript The script reference to listen to for updates to the custom property value.
(Inherited from BaseCustomPropertyValue)
Public propertyValue Get or set the custom property value.
(Inherited from CustomPropertyValueT)
Public propertyVisual The Visual referred to by the temporary custom property value visual reference.
Top
Methods
 NameDescription
Public methodToString The value of the custom property converted to a string.
(Inherited from BaseCustomPropertyValue)
Top
Events
 NameDescription
Public eventNativeBlockingListeners Add non-blocking callback delegates to this event (IEnumerable return type).
(Inherited from CustomPropertyValueT)
Public eventNativeListeners Add blocking callback delegates to this event.
(Inherited from CustomPropertyValueT)
Public eventNativeTaskListeners Add async callback delegates to this event (async Task return type).
(Inherited from CustomPropertyValueT)
Public eventValueChanged Event called when the custom property value changes.
(Inherited from CustomPropertyValueT)
Top
See Also