The '''Box Texture 3D Spatial Variable''' component
The '''Box Texture 3D Spatial Variable''' component is specifically for colorX spatial variables. This is a box spatial variable that provides colorX [[spatial variables]] sampled from a [[Type:Texture3D|Texture3D]].
|Texture|{{RootFieldType|AssetRef`1|[[Type:Texture3D|Texture3D]]}}|TypeAdv5=true| The texture to use and sample from in 3D space. Must have <code>IsReadable</code> enabled!
|UseNormalizedCoordinates|Bool|
|UseNormalizedCoordinates|Bool| When enabled, this will squish/stretch the texture with the box.
|Scale|Float3|
|Scale|Float3| The scale of the texture in 3D space.
|Offset|Float3|
|Offset|Float3| The offset of the texture in 3D space from the slot this component is on.
|WrapU|WrapMode|
|WrapU|WrapMode| How to wrap the texture along the X axis.
|WrapV|WrapMode|
|WrapV|WrapMode| How to wrap the texture along the Y axis.
|WrapW|WrapMode|
|WrapW|WrapMode| How to wrap the texture along the Z axis.
}}
}}
== Usage ==
== Usage ==
Attach to a slot and provide a size, 3d texture, and a 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 Texture 3D Spatial Variable]]
[[Category:Components:Data:Spatial:Box Variables{{#translation:}}|Box Texture 3D Spatial Variable]]
[[Category:Components{{#translation:}}|Box Texture 3D Spatial Variable]]
[[Category:Components{{#translation:}}|Box Texture 3D Spatial Variable]]
Box Texture 3D Spatial Variable component as seen in the Scene Inspector
The Box Texture 3D Spatial Variable component is specifically for colorX spatial variables. This is a box spatial variable that provides colorX spatial variables sampled from a Texture3D.