Component:AtlasInfo: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
Add related and a link
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
|Name=Atlas Info
|Name=Atlas Info
}}
}}
{{stub}}
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|
|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.
}}
}}


== 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]]
[[Category:ComponentStubs]]

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