imported>Xekri adds tutorial |
m authoritytimebase link fix |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 13: | Line 13: | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|TimeBase|IValue`1| | |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. | ||
Line 20: | Line 20: | ||
|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. | |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. | |FullScaleRangeRatio|Float|Changes the duration that the object scale will remain at the ReferenceScale size. | ||
|_position| | |_position|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv7=true|Reference to the position that is being driven. By default, set the to object that this component is first attached to. | ||
|_scale| | |_scale|{{RootFieldType|FieldDrive`1|[[Type:Float3|Float3]]}}|TypeAdv8=true|Reference to the scale that is being driven. By default, set to null. | ||
}} | }} | ||
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
The AxisPanner component is used to move an object along a single axis linearly. This component can affect position and scale.
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. |