GroundPlane

class GroundPlane()

Defines the invisible ground plane onto which simple shadows are projected.

See [[View.setGroundPlane]].


Properties

GroundPlane.followViewAxes
Type

boolean optional

If true, the model’s view axes will affect how the normal is interpreted. A normal of [0,0,1] will be aligned with the model’s up-vector.

GroundPlane.normal
Type

Point3

The normal of the plane.

GroundPlane.position
Type

Point3 optional

Any point on the plane. If undefined, the plane will be positioned at the furthest extent of the model’s bounding box.