GroundPlane

class wv.GroundPlane()

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

See [[View.setGroundPlane]].

Index

Properties

Properties

wv.GroundPlane.normal
normal: Point3

The normal of the plane.

wv.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.

wv.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.