Skip to main content
Version: 0.12.0 (latest)

UeConeGeometry

Represents a 3D cone geometry aligned along the negative Z axis (−Z), suitable for use in directional helpers like arrows or rays.
The cone is constructed with a circular base and a tip, and its orientation has been rotated −90° around the X axis.

This geometry is typically used for debugging or visualization of directions, such as the tip of an arrow in UeArrow

new UeConeGeometry(radius = 1, height = 1, radialSegments = 32, data = {})

Inherits from UeGeometry

Constructor parameters

ParameterTypeDefaultDescription
radiusnumber1Base radius of the cone
heightnumber1Vertical height of the cone
radialSegmentsnumber32Number of segmented faces around the base
data.colorColorc_whiteOptional base color for vertices
data.alphanumber1Optional base alpha for vertices