API
<undefined>
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| canRecord | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| _isPlaying | is video playing? | boolean | false | |
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| aspectRatio | aspect ratio of video | |||
| videoBounds | Bounds | |||
| naturalSize | get video element's natural size | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pause | |||||||||
| play | |||||||||
| togglePlayback | |||||||||
| step |
| ||||||||
| seekTo |
| ||||||||
| changePlaybackRate |
| ||||||||
| updateControls | |||||||||
| handleControlsEvent |
| ||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<bodypix-video>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| minconfidence | |||
| usecamera | |||
| src | |||
| islooping | |||
| playbackrate |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| poseType | ||||
| parts | string[] | |||
| _keyframes | Keyframe[] | [] | ||
| _minConfidence | ||||
| hasStarted | boolean | false | ||
| audioRecorder | MediaRecorder | undefined | |||
| audioData | string | undefined | |||
| forceOneTimePoseProcess | boolean | false | ||
| recordingStartTime | number | undefined | |||
| recordedAudio | Blob | undefined | |||
| keyframes | ||||
| minConfidence | ||||
| recording | PoseRecording | |||
| videoEl | video element | HTMLVideoElement | this.shadowRoot?.querySelector('video') | |
| stream | video stream | MediaStream | undefined | ||
| timer | timer for driving playback status | number | undefined | ||
| isComponentMounted | if component is mounted | boolean | false | |
| videoElement | get access to video element | |||
| canRecord | ||||
| _useCamera | use camera | boolean | ||
| useCamera | ||||
| naturalSize | get video element's natural size | |||
| aspectRatio | aspect ratio of video | |||
| _isPlaying | is video playing? | boolean | false | |
| onloadedmetadata | ||||
| onloadeddata | ||||
| onpause | ||||
| onended | ||||
| onplaying | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| videoBounds | Bounds | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| onMetadata | |||||||||
| poseDetectionFrame | |||||||||
| step |
| ||||||||
| onPoseFrame |
| ||||||||
| onTimerUpdate | |||||||||
| startRecording |
| ||||||||
| stopRecording | |||||||||
| onEnded | |||||||||
| handleControlsEvent |
| ||||||||
| pause | |||||||||
| play | |||||||||
| togglePlayback | |||||||||
| seekTo |
| ||||||||
| changePlaybackRate |
| ||||||||
| loadCurrentSource | |||||||||
| resize | update canvas dimensions when resized | ||||||||
| updateControls | |||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<facelandmark-video>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| minconfidence | |||
| usecamera | |||
| src | |||
| islooping | |||
| playbackrate |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| poseType | ||||
| parts | string[] | |||
| _keyframes | Keyframe[] | [] | ||
| _minConfidence | ||||
| hasStarted | boolean | false | ||
| audioRecorder | MediaRecorder | undefined | |||
| audioData | string | undefined | |||
| forceOneTimePoseProcess | boolean | false | ||
| recordingStartTime | number | undefined | |||
| recordedAudio | Blob | undefined | |||
| keyframes | ||||
| minConfidence | ||||
| recording | PoseRecording | |||
| videoEl | video element | HTMLVideoElement | this.shadowRoot?.querySelector('video') | |
| stream | video stream | MediaStream | undefined | ||
| timer | timer for driving playback status | number | undefined | ||
| isComponentMounted | if component is mounted | boolean | false | |
| videoElement | get access to video element | |||
| canRecord | ||||
| _useCamera | use camera | boolean | ||
| useCamera | ||||
| naturalSize | get video element's natural size | |||
| aspectRatio | aspect ratio of video | |||
| _isPlaying | is video playing? | boolean | false | |
| onloadedmetadata | ||||
| onloadeddata | ||||
| onpause | ||||
| onended | ||||
| onplaying | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| videoBounds | Bounds | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| onMetadata | |||||||||
| poseDetectionFrame | |||||||||
| step |
| ||||||||
| onPoseFrame |
| ||||||||
| onTimerUpdate | |||||||||
| startRecording |
| ||||||||
| stopRecording | |||||||||
| onEnded | |||||||||
| handleControlsEvent |
| ||||||||
| pause | |||||||||
| play | |||||||||
| togglePlayback | |||||||||
| seekTo |
| ||||||||
| changePlaybackRate |
| ||||||||
| loadCurrentSource | |||||||||
| resize | update canvas dimensions when resized | ||||||||
| updateControls | |||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<handpose-video>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| minconfidence | |||
| usecamera | |||
| src | |||
| islooping | |||
| playbackrate |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| poseType | ||||
| parts | string[] | |||
| _keyframes | Keyframe[] | [] | ||
| _minConfidence | ||||
| hasStarted | boolean | false | ||
| audioRecorder | MediaRecorder | undefined | |||
| audioData | string | undefined | |||
| forceOneTimePoseProcess | boolean | false | ||
| recordingStartTime | number | undefined | |||
| recordedAudio | Blob | undefined | |||
| keyframes | ||||
| minConfidence | ||||
| recording | PoseRecording | |||
| videoEl | video element | HTMLVideoElement | this.shadowRoot?.querySelector('video') | |
| stream | video stream | MediaStream | undefined | ||
| timer | timer for driving playback status | number | undefined | ||
| isComponentMounted | if component is mounted | boolean | false | |
| videoElement | get access to video element | |||
| canRecord | ||||
| _useCamera | use camera | boolean | ||
| useCamera | ||||
| naturalSize | get video element's natural size | |||
| aspectRatio | aspect ratio of video | |||
| _isPlaying | is video playing? | boolean | false | |
| onloadedmetadata | ||||
| onloadeddata | ||||
| onpause | ||||
| onended | ||||
| onplaying | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| videoBounds | Bounds | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| onMetadata | |||||||||
| poseDetectionFrame | |||||||||
| step |
| ||||||||
| onPoseFrame |
| ||||||||
| onTimerUpdate | |||||||||
| startRecording |
| ||||||||
| stopRecording | |||||||||
| onEnded | |||||||||
| handleControlsEvent |
| ||||||||
| pause | |||||||||
| play | |||||||||
| togglePlayback | |||||||||
| seekTo |
| ||||||||
| changePlaybackRate |
| ||||||||
| loadCurrentSource | |||||||||
| resize | update canvas dimensions when resized | ||||||||
| updateControls | |||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<pose-player>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| islooping | |||
| src |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| playStartTime | number | 0 | ||
| currentKeyframe | number | 0 | ||
| keyframes | Keyframe[] | [] | ||
| audio | HTMLAudioElement | undefined | |||
| timer | timer for driving playback status | number | undefined | ||
| recording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| canRecord | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| _isPlaying | is video playing? | boolean | false | |
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| aspectRatio | aspect ratio of video | |||
| videoBounds | Bounds | |||
| naturalSize | get video element's natural size | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| loadPoseData |
| ||||||||||||||
| togglePlayback | |||||||||||||||
| step |
| ||||||||||||||
| pause | |||||||||||||||
| play | |||||||||||||||
| renderFrame | |||||||||||||||
| renderPose | |||||||||||||||
| findNearestKeyframe |
| number | |||||||||||||
| onEnded | |||||||||||||||
| seekTo |
| ||||||||||||||
| changePlaybackRate |
| ||||||||||||||
| updateControls | |||||||||||||||
| handleControlsEvent |
| ||||||||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<posedetection-video>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| minconfidence | |||
| usecamera | |||
| src | |||
| islooping | |||
| playbackrate |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| poseType | ||||
| parts | string[] | |||
| _keyframes | Keyframe[] | [] | ||
| _minConfidence | ||||
| hasStarted | boolean | false | ||
| audioRecorder | MediaRecorder | undefined | |||
| audioData | string | undefined | |||
| forceOneTimePoseProcess | boolean | false | ||
| recordingStartTime | number | undefined | |||
| recordedAudio | Blob | undefined | |||
| keyframes | ||||
| minConfidence | ||||
| recording | PoseRecording | |||
| videoEl | video element | HTMLVideoElement | this.shadowRoot?.querySelector('video') | |
| stream | video stream | MediaStream | undefined | ||
| timer | timer for driving playback status | number | undefined | ||
| isComponentMounted | if component is mounted | boolean | false | |
| videoElement | get access to video element | |||
| canRecord | ||||
| _useCamera | use camera | boolean | ||
| useCamera | ||||
| naturalSize | get video element's natural size | |||
| aspectRatio | aspect ratio of video | |||
| _isPlaying | is video playing? | boolean | false | |
| onloadedmetadata | ||||
| onloadeddata | ||||
| onpause | ||||
| onended | ||||
| onplaying | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| videoBounds | Bounds | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| onMetadata | |||||||||
| poseDetectionFrame | |||||||||
| step |
| ||||||||
| onPoseFrame |
| ||||||||
| onTimerUpdate | |||||||||
| startRecording |
| ||||||||
| stopRecording | |||||||||
| onEnded | |||||||||
| handleControlsEvent |
| ||||||||
| pause | |||||||||
| play | |||||||||
| togglePlayback | |||||||||
| seekTo |
| ||||||||
| changePlaybackRate |
| ||||||||
| loadCurrentSource | |||||||||
| resize | update canvas dimensions when resized | ||||||||
| updateControls | |||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<video-element>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| usecamera | |||
| src | |||
| islooping | |||
| playbackrate |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| videoEl | video element | HTMLVideoElement | this.shadowRoot?.querySelector('video') | |
| stream | video stream | MediaStream | undefined | ||
| timer | timer for driving playback status | number | undefined | ||
| isComponentMounted | if component is mounted | boolean | false | |
| videoElement | get access to video element | |||
| canRecord | ||||
| _useCamera | use camera | boolean | ||
| useCamera | ||||
| naturalSize | get video element's natural size | |||
| aspectRatio | aspect ratio of video | |||
| _isPlaying | is video playing? | boolean | false | |
| onloadedmetadata | ||||
| onloadeddata | ||||
| onpause | ||||
| onended | ||||
| onplaying | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| videoBounds | Bounds | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| onTimerUpdate | |||||||||
| pause | |||||||||
| play | |||||||||
| togglePlayback | |||||||||
| step |
| ||||||||
| seekTo |
| ||||||||
| changePlaybackRate |
| ||||||||
| onEnded | |||||||||
| onMetadata | |||||||||
| loadCurrentSource | |||||||||
| resize | update canvas dimensions when resized | ||||||||
| updateControls | |||||||||
| handleControlsEvent |
| ||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<videopose-element>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| minconfidence | |||
| usecamera | |||
| src | |||
| islooping | |||
| playbackrate |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| poseType | ||||
| parts | string[] | |||
| _keyframes | Keyframe[] | [] | ||
| _minConfidence | ||||
| hasStarted | boolean | false | ||
| audioRecorder | MediaRecorder | undefined | |||
| audioData | string | undefined | |||
| forceOneTimePoseProcess | boolean | false | ||
| recordingStartTime | number | undefined | |||
| recordedAudio | Blob | undefined | |||
| keyframes | ||||
| minConfidence | ||||
| recording | PoseRecording | |||
| videoEl | video element | HTMLVideoElement | this.shadowRoot?.querySelector('video') | |
| stream | video stream | MediaStream | undefined | ||
| timer | timer for driving playback status | number | undefined | ||
| isComponentMounted | if component is mounted | boolean | false | |
| videoElement | get access to video element | |||
| canRecord | ||||
| _useCamera | use camera | boolean | ||
| useCamera | ||||
| naturalSize | get video element's natural size | |||
| aspectRatio | aspect ratio of video | |||
| _isPlaying | is video playing? | boolean | false | |
| onloadedmetadata | ||||
| onloadeddata | ||||
| onpause | ||||
| onended | ||||
| onplaying | ||||
| _playbackRate | playback rate | number | ||
| playbackRate | ||||
| _isLooping | is video looping? | boolean | ||
| isLooping | ||||
| _src | current video source | string | undefined | ||
| src | string | undefined | |||
| isPlaying | ||||
| _isRecording | is recording? | boolean | false | |
| isRecording | ||||
| _isAudioRecording | is audio recording? | boolean | false | |
| isAudioRecording | ||||
| _currentTime | current playback time | number | 0 | |
| currentTime | ||||
| _duration | video duration | number | 0 | |
| duration | ||||
| _recordingDuration | recording duration | number | -1 | |
| recordingDuration | ||||
| width | width of component | number | ||
| height | height of component | number | ||
| videoBounds | Bounds | |||
| visibleMediaRect | visible area bounding box | Bounds | { x: 0, y: 0, width: 0, height: 0 } |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| step |
| ||||||||
| onPoseFrame |
| ||||||||
| onTimerUpdate | |||||||||
| startRecording |
| ||||||||
| stopRecording | |||||||||
| onEnded | |||||||||
| handleControlsEvent |
| ||||||||
| pause | |||||||||
| play | |||||||||
| togglePlayback | |||||||||
| seekTo |
| ||||||||
| changePlaybackRate |
| ||||||||
| onMetadata | |||||||||
| loadCurrentSource | |||||||||
| resize | update canvas dimensions when resized | ||||||||
| updateControls | |||||||||
| formatTime |
|
Events
| Name | Description |
|---|---|
<visualization-canvas>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| dotsize | |||
| dotcolor | |||
| dotbackcolor |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| dotSize | dot size in pixels | number | 2 | |
| dotColor | dot color | string | '#ff0000' | |
| dotBackColor | dot back color (if depth is provided, gradiate between the primary dot color in the forefront and this back color at the farthest away | string | undefined | ||
| canvas | HTMLCanvasElement | null | undefined | |||
| canvasContext | CanvasRenderingContext2D | null | undefined | |||
| offsetX | number | 0 | ||
| offsetY | number | 0 |
Methods
| Name | Parameters | Description | Return | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| clear | |||||||||||||||
| resize | |||||||||||||||
| draw |
| ||||||||||||||
| drawPoints |
| ||||||||||||||
| drawGrid | debug method in case point positions need to be scrutinized | ||||||||||||||
| AdjustColorBrightness |
| ||||||||||||||
| InterpolateColor |
|
<pose-button>
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| disabled | boolean |
<pose-button>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| disabled | boolean | false |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| disabled | disabled | boolean | false |
<pose-play-button>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| disabled | boolean | false |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| playing | boolean | |||
| disabled | disabled | boolean | false |
<pose-play-button>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| playing | boolean | false | |
| disabled | boolean | false |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| playing | playing | boolean | false | |
| disabled | disabled | boolean | false |
<pose-playback-controls>
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| currentTime | number | |||
| duration | number | |||
| isPlaying | boolean | |||
| isLooping | boolean | |||
| isRecording | boolean | |||
| isAudioRecording | boolean | |||
| recordingDuration | number | |||
| playbackRate | number | |||
| canRecord | boolean |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| doAction |
| void | |||||||
| renderNonLiveMode | import("lit-html").TemplateResult<1> | ||||||||
| renderLiveMode | import("lit-html").TemplateResult<1> | undefined | ||||||||
| renderRecordingControls | import("lit-html").TemplateResult<1> | undefined |
<pose-playback-controls>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| currentTime | number | 0 | |
| duration | number | 0 | |
| isPlaying | boolean | false | |
| isLooping | boolean | false | |
| isRecording | boolean | false | |
| isAudioRecording | boolean | false | |
| recordingDuration | number | -1 | |
| playbackRate | number | 1 | |
| canRecord | boolean | false |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| currentTime | currentTime | number | 0 | |
| duration | duration | number | 0 | |
| isPlaying | isPlaying | boolean | false | |
| isLooping | isLooping | boolean | false | |
| isRecording | isRecording | boolean | false | |
| isAudioRecording | isAudioRecording | boolean | false | |
| recordingDuration | recordingDuration | number | -1 | |
| playbackRate | playbackRate | number | 1 | |
| canRecord | canRecord | boolean | false |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| doAction |
| ||||||||
| renderNonLiveMode | |||||||||
| renderLiveMode | |||||||||
| renderRecordingControls |
<pose-timeline>
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| progress | number | |||
| scrubProgress | number | |||
| handlePointerMove | (e: PointerEvent) => void | |||
| handlePointerUp | () => void |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| handlePointerDown |
| void | |||||||
| calculateScrubPos |
| void |
<pose-timeline>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| progress | number | 0 | |
| scrubProgress | number | -1 |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| progress | progress | number | 0 | |
| scrubProgress | scrubProgress | number | -1 | |
| handlePointerMove | ||||
| handlePointerUp |
Methods
| Name | Parameters | Description | Return | ||||||
|---|---|---|---|---|---|---|---|---|---|
| handlePointerDown |
| ||||||||
| calculateScrubPos |
|
<pose-toggle-button>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| disabled | boolean | false |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| active | boolean | |||
| disabled | disabled | boolean | false |
<pose-toggle-button>
Attributes
| Name | Description | Type | Default |
|---|---|---|---|
| active | boolean | false | |
| disabled | boolean | false |
Properties
| Name | Attribute | Description | Type | Default |
|---|---|---|---|---|
| active | active | boolean | false | |
| disabled | disabled | boolean | false |