Class: OAnimationEvent
Defined in: src/components/anim/OAnimationEvent.ts:13
Animator event payload.
Dispatched by clip states when a tagged keyframe is reached. The animator field references the AnimatorComponent that owns the clip, letting the listener cross-check state, query weights, etc.
Extends
Constructors
Constructor
new OAnimationEvent(
name,time):OAnimationEvent
Defined in: src/components/anim/OAnimationEvent.ts:16
Parameters
name
string
time
number
Returns
OAnimationEvent
Overrides
Properties
animator
animator:
AnimatorComponent
Defined in: src/components/anim/OAnimationEvent.ts:14
target
target:
Object3D
Defined in: src/event/CEvent.ts:13
Event target, it's usually event dispatcher
Inherited from
currentTarget
currentTarget:
CEventListener
Defined in: src/event/CEvent.ts:18
Current event target, it's current bubble object
Inherited from
type
type:
string
Defined in: src/event/CEvent.ts:23
event type, it's registered string of key
Inherited from
data?
optionaldata?:any
Defined in: src/event/CEvent.ts:28
extra data.Used for the transmission process of events, carrying data
Inherited from
param
param:
any
Defined in: src/event/CEvent.ts:34
The param data when event is registered
Inherited from
time
time:
number=0
Defined in: src/event/CEvent.ts:40
the time when event is
Inherited from
delay
delay:
number=0
Defined in: src/event/CEvent.ts:46
the delay time when event is dispatched.
Inherited from
mouseCode
mouseCode:
number=0
Defined in: src/event/CEvent.ts:52
mouse code, see
Mouse Code
Inherited from
ctrlKey
ctrlKey:
boolean
Defined in: src/event/CEvent.ts:57
Is Ctrl key pressed when the event occurs
Inherited from
metaKey
metaKey:
boolean
Defined in: src/event/CEvent.ts:62
Is Meta key pressed when the event occurs
Inherited from
altKey
altKey:
boolean
Defined in: src/event/CEvent.ts:67
Is Alt key pressed when the event occurs
Inherited from
shiftKey
shiftKey:
boolean
Defined in: src/event/CEvent.ts:72
Is Shift key pressed when the event occurs
Inherited from
targetTouches
targetTouches:
TouchData[]
Defined in: src/event/CEvent.ts:77
Collection of finger touch points, which registered
Inherited from
changedTouches
changedTouches:
TouchData[]
Defined in: src/event/CEvent.ts:82
Collection of finger touch points changed
Inherited from
touches
touches:
TouchData[]
Defined in: src/event/CEvent.ts:87
Collection of finger touch points
Inherited from
view
view:
View3D
Defined in: src/event/CEvent.ts:94
binded view3D object in event.
Inherited from
Accessors
isStopImmediatePropagation
Get Signature
get isStopImmediatePropagation():
boolean
Defined in: src/event/CEvent.ts:125
Returns stopImmediatePropagation value
Returns
boolean
Inherited from
CEvent.isStopImmediatePropagation
Methods
stopImmediatePropagation()
stopImmediatePropagation():
void
Defined in: src/event/CEvent.ts:110
Prevent bubbling of all event listeners in subsequent nodes of the current node in the event flow.
Returns
void

