An InfinitePlane is specified by its plane equation.

Inheritance

Constructors

InfinitePlane(Point3 origin, Vector3 normal, [Shader shader])

Creates a new InfinitePlane from the given origin, normal and shader.

Properties

color → Vector4

The primary color of the primitive as vector4 (only used for GUI).

read-only, inherited
colorString → String

The primary color of the primitive as CSS rgba string (only used for GUI).

read-only, inherited
equation → Vector4

The plane equation.

read / write
hashCode → int

Get a hash code for this object.

read-only, inherited
id → int

Unique id of the primitive.

read-only, inherited
origin → Point3

The plane origin.

read / write
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

getShader(Intersection intersect) Shader

Returns the shader for a given intersection point.

intersect(Ray r, num prevBestDistance) Intersection

Performs a ray - primitive intersection test. Returns an Intersection object with the associated information.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
toString() → String

Returns a string representation of this object.