Component:Panner2D: Difference between revisions

From Resonite Wiki
imported>Xekri
No edit summary
 
template this.
Tag: Replaced
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<languages></languages>
{{Template:PannerD|2}}
<translate>
<!--T:1-->
{{stub}}
{{Infobox Component
|Image=Panner2DComponent.png
|Name=Panner 2D
}}
 
<!--T:2-->
== Fields ==
{{Table ComponentFields
|_target|IField`1|TypeString0=IField<float2>|
|_offset|Float2|
|_preOffset|Float2|
|_speed|Float2|
|_repeat|Float2|
}}
 
<!--T:3-->
== Usage ==
 
<!--T:4-->
== Examples ==
* [https://www.youtube.com/watch?v=S0dF4bdtT6Q Panner tutorial] by [[User:ProbablePrime|ProbablePrime]]
 
<!--T:5-->
== Related Components ==
</translate>
[[Category:ComponentStubs]]
[[Category:Components{{#translation:}}|Panner 2D]]
[[Category:Components:Transform:Drivers{{#translation:}}|Panner 2D]]

Latest revision as of 16:29, 19 October 2024

<translate>

Component image 
Panner 2D component as seen in the Scene Inspector


Makes a value change constantly between a range over time.

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.
_target field drive of Float2 The value to change over time.
_offset Float2 How much to add to the output value after all other calculations.
_preOffset Float2 At what point to start at after item start.
_speed Float2 How fast to progress the value
_repeat Float2 At what value to repeat
PingPong Bool Whether to bounce back and forth between zero and _repeat.

Usage

Examples

Related Components

</translate>