989onan bot (talk | contribs) Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Box Vertex Value Spatial Variable`1 | |Name=Box Vertex Value Spatial Variable`1 | ||
}} | }} | ||
The '''Box Vertex Value Spatial Variable`1''' component | 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 [[Component:BoxEmitter|box emitter]]. | ||
== Fields == | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|VariableName|String| | |VariableName|String| {{SpatialVariables_VariableName}} | ||
|Priority|Int| | |Priority|Int| {{SpatialVariables_Priority}} | ||
|Size|Float3| | |Size|Float3| The size of the cube for this spatial variable's influence. | ||
|BlendDistance|Float| | |BlendDistance|Float| {{SpatialVariables_BlendDistance}} | ||
|BlendDistanceMode|SpatialVariableBlendDistanceMode| | |BlendDistanceMode|SpatialVariableBlendDistanceMode| {{SpatialVariables_BlendDistanceMode}} | ||
|Value0|'''T'''|TypeAdv5=true| | |Value0|'''T'''|TypeAdv5=true| The value sampled when near the 0th vertex. | ||
|Value1|'''T'''|TypeAdv6=true| | |Value1|'''T'''|TypeAdv6=true| The value sampled when near the 1st vertex. | ||
|Value2|'''T'''|TypeAdv7=true| | |Value2|'''T'''|TypeAdv7=true| The value sampled when near the 2nd vertex. | ||
|Value3|'''T'''|TypeAdv8=true| | |Value3|'''T'''|TypeAdv8=true| The value sampled when near the 3rd vertex. | ||
|Value4|'''T'''|TypeAdv9=true| | |Value4|'''T'''|TypeAdv9=true| The value sampled when near the 4th vertex. | ||
|Value5|'''T'''|TypeAdv10=true| | |Value5|'''T'''|TypeAdv10=true| The value sampled when near the 5th vertex. | ||
|Value6|'''T'''|TypeAdv11=true| | |Value6|'''T'''|TypeAdv11=true| The value sampled when near the 6th vertex. | ||
|Value7|'''T'''|TypeAdv12=true| | |Value7|'''T'''|TypeAdv12=true| The value sampled when near the 7th vertex. | ||
}} | }} | ||
== Usage == | == Usage == | ||
Attach to a slot and provide a size and variable name in order for this to function. | |||
== Examples == | == Examples == | ||
{{stub}} | |||
== See Also == | == See Also == | ||
* [[Spatial variables]] | |||
[[Category:Components:Data:Spatial:Box Variables{{#translation:}}|Box Vertex Value Spatial Variable`1]] | [[Category:Components:Data:Spatial:Box Variables{{#translation:}}|Box Vertex Value Spatial Variable`1]] | ||
[[Category:Components{{#translation:}}|Box Vertex Value Spatial Variable`1]] | [[Category:Components{{#translation:}}|Box Vertex Value Spatial Variable`1]] | ||
[[Category:Generic Components{{#translation:}}|Box Vertex Value Spatial Variable`1]] | [[Category:Generic Components{{#translation:}}|Box Vertex Value Spatial Variable`1]] | ||
Latest revision as of 06:28, 9 May 2025
Component image File:BoxVertexValueSpatialVariable`1Component.pngBox 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
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.