GeometryData.setOrigin


setOrigin(X, Y, Z)

setOrigin(pos)

Specify the origin (centre) of a cube, cuboid, cylinder, cone, sphere or ellipsoid when creating these shapes.

XdoubleX ordinate
YdoubleY ordinate
ZdoubleZ ordinate
posArrayArray of 3 doubles, representing the coordinates
Return valuePointer to this objectAllows multiple function calls to be chained together

Back to GeometryData

Back to Overview