Component:TimeSineDriver: Difference between revisions

From Resonite Wiki
Automated: create new component page
 
add info
 
Line 3: Line 3:
|Name=Time Sine Driver
|Name=Time Sine Driver
}}
}}
{{stub}}
The '''TimeSineDriver''' component outputs a value over time that matches a Sine Wave of the provided values.


== Usage ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv0=true|
|Target|{{RootFieldType|FieldDrive`1|[[Type:Float|Float]]}}|TypeAdv0=true| The field to drive with a constantly changing Sine wave.
|Speed|Float|
|Speed|Float| The frequency/speed of the Sine Wave waves.
|Min|Float|
|Min|Float| The minimum value to drive <code>Target</code> to.
|Max|Float|
|Max|Float| The maximum value to drive <code>Target</code> to.
}}
}}


== Behavior ==
== Usage ==
Attach to a slot and provide a <code>Target</code> for it to start working.


== Examples ==
== Examples ==
{{stub}}


== See Also ==
== See Also ==
Line 21: Line 23:
[[Category:Components:Transform:Function Drivers{{#translation:}}|Time Sine Driver]]
[[Category:Components:Transform:Function Drivers{{#translation:}}|Time Sine Driver]]
[[Category:Components{{#translation:}}|Time Sine Driver]]
[[Category:Components{{#translation:}}|Time Sine Driver]]
[[Category:ComponentStubs]]

Latest revision as of 22:48, 4 February 2025

Component image 
Time Sine Driver component as seen in the Scene Inspector

The TimeSineDriver component outputs a value over time that matches a Sine Wave of the provided values.

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. Some components stop their functionality when this field is disabled, but some don't.
Target field drive of Float The field to drive with a constantly changing Sine wave.
Speed Float The frequency/speed of the Sine Wave waves.
Min Float The minimum value to drive Target to.
Max Float The maximum value to drive Target to.

Usage

Attach to a slot and provide a Target for it to start working.

Examples

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

See Also