add info |
m formatting error |
||
Line 16: | Line 16: | ||
|ChannelCount|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv7=true| How many channels <code>Asset</code> has (RGBA for example is 4, but some images may have more or less.) | |ChannelCount|{{RootFieldType|RawOutput`1|[[Type:Int|Int]]}}|TypeAdv7=true| How many channels <code>Asset</code> has (RGBA for example is 4, but some images may have more or less.) | ||
|AverageColor|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv8=true| <code>Asset</code>'s average color, visible or not. | |AverageColor|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv8=true| <code>Asset</code>'s average color, visible or not. | ||
|AverageVisibleColor|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv9=true| <code>Asset</ | |AverageVisibleColor|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv9=true| <code>Asset</code>'s average visible color. | ||
|AverageHSV|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv10=true| <code>Asset</code>'s average HSV color, visible ot not. | |AverageHSV|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv10=true| <code>Asset</code>'s average HSV color, visible ot not. | ||
|AverageVisibleHSV|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv11=true| <code>Asset</code>'s average visible HSV color. | |AverageVisibleHSV|{{RootFieldType|RawOutput`1|[[Type:ColorX|ColorX]]}}|TypeAdv11=true| <code>Asset</code>'s average visible HSV color. |
Latest revision as of 23:36, 1 January 2025
Component image
The BitmapAssetMetadata component is used to get pixel data information on a given image or texture.
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. |
Asset
|
Texture2D | The image to get data from. |
Width
|
raw output of Int | The width of Asset .
|
Height
|
raw output of Int | The height of Asset .
|
BaseFormat
|
raw output of String | The format of Asset .
|
ColorData
|
raw output of ColorChannelData | The ColorChannelData for Asset
|
AlphaData
|
raw output of AlphaChannelData | The AlphaChannelData for Asset .
|
BitsPerPixel
|
raw output of Double | How many bits are used per pixel to store color data in Asset .
|
ChannelCount
|
raw output of Int | How many channels Asset has (RGBA for example is 4, but some images may have more or less.)
|
AverageColor
|
raw output of ColorX | Asset 's average color, visible or not.
|
AverageVisibleColor
|
raw output of ColorX | Asset 's average visible color.
|
AverageHSV
|
raw output of ColorX | Asset 's average HSV color, visible ot not.
|
AverageVisibleHSV
|
raw output of ColorX | Asset 's average visible HSV color.
|
InvalidPixelCount
|
raw output of Int | how many pixels in Asset that have NAN values in their color values.
|
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.