Component:MinMaxValueSpatialVariableDriver

From Resonite Wiki
Component image 
File:MinMaxValueSpatialVariableDriver`1Component.png
Min Max Value Spatial Variable Driver`1 component as seen in the Scene Inspector

The Min Max Value Spatial Variable Driver`1 component drives fields with the min and max possible values of the spatial variables it is currently sampling. If there's no spatial variables, Min/Max will be the Max/Min possible values for that datatype

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.
MinDrive field drive of T The field to drive with the minimum possible value that could be sampled from all the spatial variables that this sampler is sampling from.
MaxDrive field drive of T The field to drive with the maximum possible value that could be sampled from all the spatial variables that this sampler is sampling from.
VariableName String The variable name to sample for from the point this component's slot is at.

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.

See Also