989onan bot (talk | contribs) Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Numeric Value Spatial Variable Driver`1 | |Name=Numeric Value Spatial Variable Driver`1 | ||
}} | }} | ||
The '''Numeric Value Spatial Variable Driver`1''' component | The '''Numeric Value Spatial Variable Driver`1''' component works specifically for numeric values and allows for multiple sampling modes. | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|Drive|{{RootFieldType|FieldDrive`1|T}}|TypeAdv0=true| | |Drive|{{RootFieldType|FieldDrive`1|T}}|TypeAdv0=true| The field to drive with the resulting value. | ||
|VariableName|String| | |VariableName|String| The variable name to sample for. | ||
|Mode|ValueSpatialVariableMode| | |Mode|ValueSpatialVariableMode| How to interpret the sampled values. | ||
|DefaultValue|'''T'''|TypeAdv3=true| | |DefaultValue|'''T'''|TypeAdv3=true| The value to default to if no value can be sampled. | ||
}} | }} | ||
== Usage == | == Usage == | ||
Attach to a slot and provide a field to drive and a variable name. the slot this component is on acts as the position for sampling variable values. | |||
== Examples == | == Examples == | ||
{{stub}} | |||
== See Also == | == See Also == | ||
* [[Spatial variables]] | |||
[[Category:Components:Data:Spatial:Samplers{{#translation:}}|Numeric Value Spatial Variable Driver`1]] | [[Category:Components:Data:Spatial:Samplers{{#translation:}}|Numeric Value Spatial Variable Driver`1]] | ||
[[Category:Components{{#translation:}}|Numeric Value Spatial Variable Driver`1]] | [[Category:Components{{#translation:}}|Numeric Value Spatial Variable Driver`1]] | ||
[[Category:Generic Components{{#translation:}}|Numeric Value Spatial Variable Driver`1]] | [[Category:Generic Components{{#translation:}}|Numeric Value Spatial Variable Driver`1]] | ||
Latest revision as of 06:43, 9 May 2025
Component image File:NumericValueSpatialVariableDriver`1Component.pngNumeric Value Spatial Variable Driver`1 component as seen in the Scene Inspector
The Numeric Value Spatial Variable Driver`1 component works specifically for numeric values and allows for multiple sampling modes.
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. |
Drive
|
field drive of T | The field to drive with the resulting value. |
VariableName
|
String | The variable name to sample for. |
Mode
|
ValueSpatialVariableMode | How to interpret the sampled values. |
DefaultValue
|
T | The value to default to if no value can be sampled. |
Usage
Attach to a slot and provide a field to drive and a variable name. the slot this component is on acts as the position for sampling variable values.
Examples
This article or section is a Stub. You can help the Resonite Wiki by expanding it.