Component:Texture3DAssetMetadata

From Resonite Wiki
Component image 
Texture 3D Asset Metadata component as seen in the Scene Inspector

The Texture3DAssetMetadata component is able to retrieve the 3D texture data like size, memory, and format usually seen at the bottom of an inspector on a particular component as usable values.

Usage

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 Texture3D The texture to get Asset Metadata for.
Size raw output of Int3 The size of 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.
Depth raw output of Int The depth or Z of Texture in pixels.
MemoryBytes raw output of Long How many bytes of memory Texture takes up.
FormattedMemoryBytes raw output of String The bytes that Texture uses in easy to read human format.
Format raw output of TextureFormat The format that Texture is kept in.
ActualLoadedVariant raw output of String The variant of Texture that has been loaded, which can be different on a client due to graphics settings or variants are being calculated on the cloud.
Profile raw output of ColorProfile The color space Texture is rendered in.

Usage

Attach to a slot and provide a texture to Texture and the component will change it's Outputs to the data in that provided texture.

Examples

This article or section is a Stub. You can help the Resonite Wiki by expanding it.


See Also