Click or drag to resize

CustomPropertyValueStructScriptReference Class

[Missing <summary> documentation for "T:Demo3D.Utilities.CustomPropertyValueStructScriptReference"]

Inheritance Hierarchy
SystemObject
  Demo3D.VisualsScriptReference
    Demo3D.VisualsScriptReferenceVisual, ValueStruct, ValueStruct
      Demo3D.UtilitiesCustomPropertyValueStructScriptReference

Namespace:  Demo3D.Utilities
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 18.03.00
Syntax
C#
public sealed class CustomPropertyValueStructScriptReference : ScriptReference<Visual, ValueStruct, ValueStruct>

The CustomPropertyValueStructScriptReference type exposes the following members.

Constructors
  NameDescription
Public methodCustomPropertyValueStructScriptReference
Initializes a new instance of the CustomPropertyValueStructScriptReference class
Top
Properties
  NameDescription
Public propertyIsNull
Will a JScript function be called or not when the event occurs.
(Inherited from ScriptReference.)
Public propertyName
The JScript function to call on the Script for this visual.
(Inherited from ScriptReference.)
Top
Methods
  NameDescription
Public methodAddFunctionListener
Add a function that will be called when this script reference is invoked. The target visual is prepended to the script reference's original signature such that an event like OnBlocked would expect a function like this to be passed: function (target : Visual, sender : Visual, load : Visual) The functions are cleared upon each reset, removing the need for cleanup. The function list is not persisted upon model save.
(Inherited from ScriptReference.)
Public methodClear
Remove the reference to the JScript function (set Name to an empty string).
(Inherited from ScriptReference.)
Public methodRemoveFunctionListeners
Remove function listeners for a given target Visual.
(Inherited from ScriptReference.)
Public methodToString
The JScript function to be called and whether there are any native listeners.
(Inherited from ScriptReference.)
Top
Events
See Also