ScriptReferenceT1, T2, T3, T4 Class |
Namespace: Demo3D.Visuals
public class ScriptReference<T1, T2, T3, T4> : ScriptReference
The ScriptReferenceT1, T2, T3, T4 type exposes the following members.
| Name | Description | |
|---|---|---|
| ScriptReferenceT1, T2, T3, T4 | Initializes a new instance of the ScriptReferenceT1, T2, T3, T4 class |
| Name | Description | |
|---|---|---|
| IsNull |
Will a JScript function be called or not when the event occurs.
(Inherited from ScriptReference.) | |
| ListenerCount | (Inherited from ScriptReference.) | |
| Name |
The JScript function to call on the Script for this visual.
(Inherited from ScriptReference.) |
| Name | Description | |
|---|---|---|
| AddFunctionListener |
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.) | |
| Clear |
Remove the reference to the JScript function (set Name to an empty string).
(Inherited from ScriptReference.) | |
| RemoveFunctionListeners |
Remove function listeners for a given target Visual.
(Inherited from ScriptReference.) | |
| ToString |
The JScript function to be called and whether there are any native listeners.
(Inherited from ScriptReference.) |
| Name | Description | |
|---|---|---|
| NativeBlockingListeners |
Add non-blocking callback delegates to this event (IEnumerable return type).
| |
| NativeListeners |
Add blocking callback delegates to this event.
| |
| NativeTaskListeners |
Add async callback delegates to this event (async Task return type).
|
| Name | Description | |
|---|---|---|
| waitForEventDelegates | (Inherited from ScriptReference.) |