Class: WirePlanePrimitive

WirePlanePrimitive

WirePlanePrimitive provides a primitive plane Model to use with line types, useful for debugging.


new WirePlanePrimitive(definition)

Parameters:
Name Type Description
definition

An object containing the following (optional) parameters:

  • numSegmentsW: The amount of horizontal segments
  • numSegmentsH: The amount of vertical segments
  • width: The width of the plane
  • height: The height of the plane
  • alignment: The axes along which to orient the plane. One of WirePlanePrimitive#ALIGN_XZ, WirePlanePrimitive#ALIGN_XY, WirePlanePrimitive#ALIGN_YZ
Author:
  • derschmale <http://www.derschmale.com>

Extends

Members


localBounds

The object-space bounding box.

Inherited From:

name

The name of the Model.

Inherited From:

numMeshes

The amount of Mesh objects in this Model.

Inherited From:

skeleton

The Skeleton used for skinning animations.

Inherited From:

Methods


addMesh()

Adds a Mesh to the Model

Inherited From:

getMesh()

Retrieves the Mesh at the given index.

Inherited From:

removeMesh()

Removes a Mesh from the Model.

Inherited From: