Automated: update component fields |
add info |
||
Line 2: | Line 2: | ||
<translate> | <translate> | ||
<!--T:1--> | <!--T:1--> | ||
{{Infobox Component | {{Infobox Component | ||
|Image=VideoTextureAssetMetadataComponent.png | |Image=VideoTextureAssetMetadataComponent.png | ||
|Name=Video Texture Asset Metadata | |Name=Video Texture Asset Metadata | ||
}} | }} | ||
The '''VideoTextureAssetMetadata''' component turns the data at the bottom of an inspector on a video asset Type component into usable values which can be used elsewhere. | |||
<!--T:2--> | <!--T:2--> | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Texture|{{RootFieldType|AssetRef`1|[[Type:VideoTexture|VideoTexture]]}}|TypeAdv0=true| | |Texture|{{RootFieldType|AssetRef`1|[[Type:VideoTexture|VideoTexture]]}}|TypeAdv0=true| The video texture to get information on. | ||
|Size|{{RootFieldType|RawOutput`1|[[Type:Int2|Int2]]}}|TypeAdv1=true| | |Size|{{RootFieldType|RawOutput`1|[[Type:Int2|Int2]]}}|TypeAdv1=true| The size of the <code>Texture</code> in pixels. | ||
|Width|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv2=true| | |Width|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv2=true| The width of <code>Texture</code> in pixels. | ||
|Height|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv3=true| | |Height|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv3=true| The height of <code>Texture</code> in pixels. | ||
|HasAlpha|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| | |HasAlpha|{{RootFieldType|RawOutput`1|[[Type:Bool|Bool]]}}|TypeAdv4=true| Whether <code>Texture</code> is transparent. | ||
|Length|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv5=true| | |Length|{{RootFieldType|RawOutput`1|[[Type:Float|Float]]}}|TypeAdv5=true| The duration of <code>Texture</code>. | ||
|PlaybackEngine|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv6=true| | |PlaybackEngine|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv6=true| The playback engine <code>Texture</code> is using. | ||
}} | }} | ||
<!--T:3--> | <!--T:3--> | ||
== Usage == | == Usage == | ||
Attach to a slot and provide a <code>Texture</code> to get information on in order for it to work. | |||
<!--T:4--> | <!--T:4--> | ||
== Examples == | == Examples == | ||
{{stub}} | |||
<!--T:5--> | <!--T:5--> | ||
== | == See Also == | ||
* [[Component:VideoTextureProvider]] | |||
</translate> | </translate> | ||
[[Category:Components{{#translation:}}|Video Texture Asset Metadata]] | [[Category:Components{{#translation:}}|Video Texture Asset Metadata]] | ||
[[Category:Components:Assets:Utility{{#translation:}}|Video Texture Asset Metadata]] | [[Category:Components:Assets:Utility{{#translation:}}|Video Texture Asset Metadata]] |
Latest revision as of 20:28, 6 February 2025
Component image 
Video Texture Asset Metadata component as seen in the Scene Inspector

The VideoTextureAssetMetadata component turns the data at the bottom of an inspector on a video asset Type component into usable values which can be used elsewhere.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
Texture
|
VideoTexture | The video texture to get information on. |
Size
|
raw output of Int2 | The size of the Texture in pixels.
|
Width
|
raw output of Int | The width of Texture in pixels.
|
Height
|
raw output of Int | The height of Texture in pixels.
|
HasAlpha
|
raw output of Bool | Whether Texture is transparent.
|
Length
|
raw output of Float | The duration of Texture .
|
PlaybackEngine
|
raw output of String | The playback engine Texture is using.
|
Usage
Attach to a slot and provide a Texture
to get information on in order for it to work.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.