Component:UVAtlasAnimator: Difference between revisions

From Resonite Wiki
imported>Xekri
Created page with "<languages></languages> <translate> <!--T:1--> {{stub}} {{Infobox Component |Image=UVAtlasAnimatorComponent.png |Name=UVAtlas Animator }} <!--T:2--> == Fields == {{Table Comp..."
 
Automated: update Fields, Categories
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages></languages>
<translate>
<!--T:1-->
<!--T:1-->
{{stub}}
{{stub}}
Line 11: Line 9:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|ScaleField|IField`1|TypeString0=IField<float2>|
|ScaleField|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv0=true|The texture's <code>TextureScale</code> field that should be driven
|OffsetField|IField`1|TypeString1=IField<float2>|
|OffsetField|{{RootFieldType|FieldDrive`1|[[Type:Float2|Float2]]}}|TypeAdv1=true|The texture's <code>TextureOffset</code> field that should be driven
|AtlasInfo|AtlasInfo|
|AtlasInfo|{{RootFieldType|RelayRef`1|[[Component:AtlasInfo|AtlasInfo]]}}|TypeAdv2=true|The [[AtlasInfo (Component)|AtlasInfo]] component that provides the size and frame amount for the atlas
|Frame|Int|
|Frame|Int|Which frame of the atlas the texture scale and offset should be driven to
}}
}}


Line 25: Line 23:
<!--T:5-->
<!--T:5-->
== Related Components ==
== Related Components ==
</translate>
[[Category:ComponentStubs]]
[[Category:ComponentStubs]]
[[Category:Components:Transform:Drivers{{#translation:}}|UVAtlas Animator]]
[[Category:Components{{#translation:}}|UVAtlas Animator]]
[[Category:Components{{#translation:}}|UVAtlas Animator]]
[[Category:Components:Transform:Drivers{{#translation:}}|UVAtlas Animator]]

Latest revision as of 21:26, 3 March 2024


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


Component image 
UVAtlas Animator component as seen in the Scene Inspector


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.
ScaleField field drive of Float2 The texture's TextureScale field that should be driven
OffsetField field drive of Float2 The texture's TextureOffset field that should be driven
AtlasInfo direct RelayRef`1<AtlasInfo> The AtlasInfo component that provides the size and frame amount for the atlas
Frame Int Which frame of the atlas the texture scale and offset should be driven to

Usage

Examples

Related Components