ProtoFlux:Random Point On Cone

From Resonite Wiki
Revision as of 18:02, 1 July 2024 by AmasterAmaster (talk | contribs) (Created a page for the Random Point On Cone node.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Random Point On Cone
Height
*
BaseRadius
Point

The Random Point On Cone node takes in a height and a base radius, then returns a random float3 value of a point on a cone (taking into account the height and the base radius provided, inclusive only on the point where the shell of the cone is).

This node constantly changes its value every frame, if you want to use this value, make sure to either Write to a Variable or use it within that frame.

Inputs

Height (float)

The height of the cone (tip side).

BaseRadius (float)

The size of the circle base of the cone.

Outputs

* (float3)

The random result.