SDKBehaviorTypeBase
Addon SDK v1 retirement
The SDKBehaviorTypeBase
interface is used as the base class for runtime behavior types in the SDK. A behavior type corresponds to a behavior listed in the Behaviors dialog. Behavior types have multiple behavior instances, each associated with an object instance. It is the behavior equivalent of SDKTypeBase.
SDKBehaviorTypeBase
cannot be directly constructed; it should only be used as a base class.
Properties
- this._objectClass
- Reference to the ObjectClass representing the object type that this behavior type belongs to.
- this._behaviorType
- Reference to the BehaviorType representing this behavior type in the runtime.
- this._runtime
- Reference to the associated Runtime that controls execution of the project.
- this._behavior
- Reference to your addon's SDK behavior class, which derives from SDKBehaviorBase.
Methods
- OnCreate()
- Optional override called when the runtime starts up and creates all behavior types before the project starts.
- GetObjectClass()
- Returns
this._objectClass
publicly.
- GetBehaviorType()
- Returns
this._behaviorType
publicly.
- GetRuntime()
- Returns
this._runtime
publicly.
- GetBehavior()
- Returns
this._behavior
publicly.
Addon SDK Manual
Construct.net
2018-05-15
2024-05-20
You are here:
Search this manual:
This manual entry was last updated on 20 May, 2024 at 15:13