SDKBehaviorTypeBase

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 2023-01-05

On this page