Component:BooleanSpatialVariableDriver

From Resonite Wiki
Revision as of 04:24, 9 May 2025 by 989onan (talk | contribs) (add info)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Component image 
File:BooleanSpatialVariableDriverComponent.png
Boolean Spatial Variable Driver component as seen in the Scene Inspector

The Boolean Spatial Variable Driver component is specifically for boolean values, which combines all the found bool spatial values at given point


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.
Drive field drive of Bool The field to drive with the combined values of all the bools at the sampled slot point.
VariableName String The variable name to sample.
Mode BooleanSpatialVariableMode How to aggrigate values to determine the final result.
DefaultValue Bool The value to default to when no value can be sampled.

Usage

attach to a slot for it to use as the sample point. then it will sample spatial areas around it to get it's value.

Examples

See Also