Component:BitmapAssetMetadata

From Resonite Wiki
Revision as of 23:35, 1 January 2025 by 989onan (talk | contribs) (add info)
Component image 
Bitmap Asset Metadata component as seen in the Scene Inspector

The BitmapAssetMetadata component is used to get pixel data information on a given image or texture.

Fields

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</coRoo'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.


Examples

See Also