Component:AtlasInfo: Difference between revisions

From Resonite Wiki
add info
Add related and a link
 
Line 3: Line 3:
|Name=Atlas Info
|Name=Atlas Info
}}
}}
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.
Atlas info is used in the [[Component: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 ==
{{Table ComponentFields
{{Table ComponentFields
|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)
|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)
Line 11: Line 11:
}}
}}


== Behavior ==
== Usage ==


== Examples ==
== Examples ==


== See Also ==
== See Also ==
* [[Component:AtlasInfo]]
* [[Component:TimeIntDriver]]
* [[Component:UVAtlasAnimator]]


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

Latest revision as of 18:41, 11 November 2024

Component image 
Atlas Info component as seen in the Scene Inspector

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

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.
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.

Usage

Examples

See Also