Mp4Event
APJS Script API reference for the Mp4Event enum.
| Type | Name | Interface Description |
|---|---|---|
| Enum | KeyFrameInSecond | |
| Enum | Pause | |
| Enum | PlayBegin | |
| Enum | PlayEnd | |
| Enum | Resume | |
| Enum | Stop |
Examples
KeyFrameInSecond
let value = APJS.Mp4Event.KeyFrameInSecond;
Pause
let value = APJS.Mp4Event.Pause;
PlayBegin
let value = APJS.Mp4Event.PlayBegin;
PlayEnd
let value = APJS.Mp4Event.PlayEnd;
Resume
let value = APJS.Mp4Event.Resume;
Stop
let value = APJS.Mp4Event.Stop;
Use Case
@component()
export class NewBehaviourScript extends APJS.BasicScriptComponent {
onStart() {
// TODO: instantiate / use Mp4Event here
}
onUpdate(deltaTime: number) {
}
}