PlanecastFlags

lumin. PlanecastFlags

new PlanecastFlags(value)

Used to filter types of planes when doing a plane cast.

Parameters:
Name Type Description
value number

Members

(static, constant) kAllOrientations :lumin.PlanecastFlags

Type:

(static, constant) kAllTypes :lumin.PlanecastFlags

Type:

(static, constant) kArbitrary :lumin.PlanecastFlags

Include planes with arbitrary normals.

Type:

(static, constant) kCeiling :lumin.PlanecastFlags

Include planes tagged as ceiling.

Type:

(static, constant) kFlagInner :lumin.PlanecastFlags

If this flag is set, inner planes will be returned; if it is not
set, outer planes will be returned.

Type:

(static, constant) kFloor :lumin.PlanecastFlags

Include planes tagged as floor.

Type:

(static, constant) kHorizontal :lumin.PlanecastFlags

Include planes whose normal is parallel to gravity.

Type:

(static, constant) kIgnoreHoles :lumin.PlanecastFlags

Instructs the plane system to ignore holes in planar surfaces.

Type:

(static, constant) kOrientToGravity :lumin.PlanecastFlags

For non-horizontal planes, setting this flag will result in the
top of the plane rectangle being perpendicular to gravity.

Type:

(static, constant) kVertical :lumin.PlanecastFlags

Include planes whose normal is perpendicular to gravity.

Type:

(static, constant) kWall :lumin.PlanecastFlags

Include planes tagged as wall.

Type:

value :number

Type:
  • number