Lib.field.generate.sdf.PrismSDF - tixl3d/tixl GitHub Wiki

PrismSDF

in Lib.field.generate.sdf


Generates a prism SDF (I.e. a n-sided cylinder).

NOTE: the tiangular prism does not support rounding.


Input Parameters

Name (Relevancy & Type) Description
Center (Vector3) Transforms the center of the object
Radius (Single) Defines the size
Length (Single) Defines the height
EdgeRadius (Single) Defines the smoothness of the edge
Sides (Int32) Switches between a 3 sided and 6 sided Prism
(If changing this value has no effect, any other value must be changed to bring the change into effect)
Axis (Int32) Defines the axis along which the field is aligned

Outputs

Name Type
Result T3.Core.DataTypes.ShaderGraphNode

Please help use to improve this documentation. Feel free to improve the description.

⚠ Everything else is automatically generated and will be overwritten regularly.

⚠️ **GitHub.com Fallback** ⚠️