Component:SphereStartEndValueSpatialVariable

From Resonite Wiki
Component image 
File:SphereStartEndValueSpatialVariable`1Component.png
Sphere Start End Value Spatial Variable`1 component as seen in the Scene Inspector

The Sphere Start End Value Spatial Variable`1 component is part of the Spatial variables system. The start value starts at the edge of the shape and goes inwards towards the center, or the other way around depending on provided values.

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.
VariableName String The name of the variable this has within it's field of influence for the Spatial variables system.
Priority Int
Radius Float The priority this spatial variable has other others overlapping in the same space for the Spatial variables system.
BlendDistance Float How the gradient for this variable within it's volume determines the sampled value for the Spatial variables system.
BlendDistanceMode SpatialVariableBlendDistanceMode The mode used for blending the value with other variables for the Spatial variables system.
StartValue T The value this spatial variable gives when sampled at 0%.
EndValue T The value this spatial variable gives when sampled at 100%.
StartDistance Float The distance at which the sampled spatial variable starts at StartValue.
EndDistance Float The distance at which the sampled spatial variable ends at EndValue.
Mode SpatialVariableDistanceMode The mode to use when sampling the values based on distance.

Usage

Attach to a slot and provide a size and variable name in order for this to function.

Examples

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

See Also