Constructor
new VideoTexture(param)
The video texture what can play video stream and can be used by object's style.
Parameters:
Name | Type | Description |
---|---|---|
param |
Object | The initial parameters. |
- Source:
Extends
Members
anisotropy :Number
Get the anisotropy.
Type:
- Number
- Overrides:
- Source:
colorFormat :Number
Get the color format.
Type:
- Number
- Overrides:
- Source:
flipY :Boolean
Get flipY.
Type:
- Boolean
- Overrides:
- Source:
generateMipmaps :Boolean
Check generate mipmaps.
Type:
- Boolean
- Overrides:
- Source:
isBaseStaticTexture :Boolean
Check class type.
Type:
- Boolean
- Overrides:
- Source:
isVideoTexture :Boolean
Check class type.
Type:
- Boolean
- Source:
magFilterType :ImageFilterType
Get the mag filter type.
Type:
- Overrides:
- Source:
mappingType :ImageMappingType
Get the mappingType type.
Type:
- Overrides:
- Source:
minFilterType :ImageFilterType
Get the min filter type.
Type:
- Overrides:
- Source:
premultiplyAlpha :Boolean
Get premultiply alpha.
Type:
- Boolean
- Overrides:
- Source:
url :String
Get/Set url.
Type:
- String
- Source:
wrapType :ImageWrapType
Get the wrap type.
Type:
- Overrides:
- Source:
Methods
clone() → {THING.VideoTexture}
Clone image.
- Source:
Returns:
- Type
- THING.VideoTexture
copy(source) → {THING.VideoTexture}
Copy from image.
Parameters:
Name | Type | Description |
---|---|---|
source |
THING.VideoTexture | The image. |
- Source:
Returns:
- Type
- THING.VideoTexture