Component:AtlasInfo: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
Line 3: Line 3:
|Name=Atlas Info
|Name=Atlas Info
}}
}}
{{stub}}
Atlas info is used in the UVAtlasAnimator to provide the animator with information on format of an image that is an atlas of all the frames in an animation.


== Usage ==
== Usage ==
{{Table ComponentFields
{{Table ComponentFields
|GridSize|Int2|
|GridSize|Int2| The size of the grid that the image frames take up on the atlas (Ex: 4 by 8 grid of frames for a max of 32 total frames)
|GridFrames|Int|
|GridFrames|Int| The amount of frames on the animation atlas image. If the amount of frames is less than the max (the two <code>GridSize</code> numbers multiplied together) then it will stop on frame <code>GridFrames</code> when this component is used by UVAtlasAnimator.
}}
}}


Line 19: Line 19:
[[Category:Components:Rendering{{#translation:}}|Atlas Info]]
[[Category:Components:Rendering{{#translation:}}|Atlas Info]]
[[Category:Components{{#translation:}}|Atlas Info]]
[[Category:Components{{#translation:}}|Atlas Info]]
[[Category:ComponentStubs]]

Revision as of 22:05, 26 July 2024

Component image 
Atlas Info component as seen in the Scene Inspector

Atlas info is used in the UVAtlasAnimator to provide the animator with information on format of an image that is an atlas of all the frames in an animation.

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.
GridSize Int2 The size of the grid that the image frames take up on the atlas (Ex: 4 by 8 grid of frames for a max of 32 total frames)
GridFrames Int The amount of frames on the animation atlas image. If the amount of frames is less than the max (the two GridSize numbers multiplied together) then it will stop on frame GridFrames when this component is used by UVAtlasAnimator.

Behavior

Examples

See Also