Component:AxisPanner: Difference between revisions

From Resonite Wiki
Automated: update Fields
m authoritytimebase link fix
 
Line 13: Line 13:
== Fields ==
== Fields ==
{{Table ComponentFields
{{Table ComponentFields
|TimeBase|'''[[Type:IValue`1|IValue`1]]<[[Type:Double|Double]]>'''|TypeAdv0=true|Reference to the timebase or "clock" that the component will use for moving an object. Possible components that can be used as an input is AuthorityTimeBase located at "Utility/AuthorityTimeBase".
|TimeBase|'''[[Type:IValue`1|IValue`1]]<[[Type:Double|Double]]>'''|TypeAdv0=true|Reference to the timebase or "clock" that the component will use for moving an object. Possible components that can be used as an input include [[Component:AuthorityTimeBase|AuthorityTimeBase]].
|Speed|Float|The speed at which the object will move.
|Speed|Float|The speed at which the object will move.
|Range|Float|How far the object will move.
|Range|Float|How far the object will move.

Latest revision as of 03:01, 16 March 2024


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


Component image 
Axis Panner component as seen in the Scene Inspector


The AxisPanner component is used to move an object along a single axis linearly. This component can affect position and scale.

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.
TimeBase IValue`1<Double> Reference to the timebase or "clock" that the component will use for moving an object. Possible components that can be used as an input include AuthorityTimeBase.
Speed Float The speed at which the object will move.
Range Float How far the object will move.
Offset Float3 Where the object starts its move.
Axis Float3 The direction that the object will move in.
ReferenceScale Float3 Sets the maximum scale that the object will become at the halfway point. Starting at 0 the object will grow to this size and then back to 0.
FullScaleRangeRatio Float Changes the duration that the object scale will remain at the ReferenceScale size.
_position field drive of Float3 Reference to the position that is being driven. By default, set the to object that this component is first attached to.
_scale field drive of Float3 Reference to the scale that is being driven. By default, set to null.

Usage

Examples

Related Components