Component:BoxVertexValueSpatialVariable

From Resonite Wiki
Component image 
File:BoxVertexValueSpatialVariable`1Component.png
Box Vertex Value Spatial Variable`1 component as seen in the Scene Inspector

The Box Vertex Value Spatial Variable`1 component makes a spatial variable that provides samplers with a different value depending on what vertex of the area a sampler is closest to. This is similar to the color properties of a box emitter.

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 The priority this spatial variable has other others overlapping in the same space for the Spatial variables system.
Size Float3 The size of the cube for this spatial variable's influence.
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.
Value0 T The value sampled when near the 0th vertex.
Value1 T The value sampled when near the 1st vertex.
Value2 T The value sampled when near the 2nd vertex.
Value3 T The value sampled when near the 3rd vertex.
Value4 T The value sampled when near the 4th vertex.
Value5 T The value sampled when near the 5th vertex.
Value6 T The value sampled when near the 6th vertex.
Value7 T The value sampled when near the 7th vertex.

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