GroundPlane

class GroundPlane()

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

See [[View.setGroundPlane]].

Index

Properties

Properties

GroundPlane.followViewAxes

optional

followViewAxes: boolean

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
normal: Point3

The normal of the plane.

GroundPlane.position

optional

position: Point3

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