Appearance
Interface: VideoShadowOptions
Table of contents
Properties
- url
- position
- far
- rotation
- alpha
- near
- fov
- debugFrustum
- videoElement
- id
- useOccluder
- clearBlack
- videoPlay
- show
- classificationType
- isOutputTexture
Properties
url
• url: string
视频流地址
Defined in
src/extensions/VideoShadow/index.ts:81
position
• position: number[]
相机位置
Defined in
src/extensions/VideoShadow/index.ts:83
far
• far: number
相机远距离
Defined in
src/extensions/VideoShadow/index.ts:85
rotation
• rotation: Object
相机渲染角度
Type declaration
| Name | Type | Description |
|---|---|---|
yaw | number | 偏航角 |
pitch | number | 俯仰角 |
Defined in
src/extensions/VideoShadow/index.ts:87
alpha
• alpha: number
投影面透明度
Defined in
src/extensions/VideoShadow/index.ts:98
near
• near: number
相机近距离
Defined in
src/extensions/VideoShadow/index.ts:100
fov
• fov: number
相机 fov 角度
Defined in
src/extensions/VideoShadow/index.ts:102
debugFrustum
• debugFrustum: boolean
是否开始视椎体
Defined in
src/extensions/VideoShadow/index.ts:104
videoElement
• videoElement: HTMLVideoElement
视频 DOM
Defined in
src/extensions/VideoShadow/index.ts:106
id
• id: string
视频投影 ID
Defined in
src/extensions/VideoShadow/index.ts:108
useOccluder
• Optional useOccluder: boolean
是否开启投影遮挡
Defined in
src/extensions/VideoShadow/index.ts:110
clearBlack
• Optional clearBlack: boolean
是否消除黑边
Defined in
src/extensions/VideoShadow/index.ts:112
videoPlay
• Optional videoPlay: boolean
视频是否播放
Defined in
src/extensions/VideoShadow/index.ts:114
show
• Optional show: boolean
视频投影是否显示
Defined in
src/extensions/VideoShadow/index.ts:116
classificationType
• Optional classificationType: ClassificationType
投影是否贴地
Defined in
src/extensions/VideoShadow/index.ts:118
isOutputTexture
• Optional isOutputTexture: boolean
是否输当前相机渲染的像素值
Defined in
src/extensions/VideoShadow/index.ts:120

