DynamicPyramid

DynamicPyramid

new

An optionally time-dynamic pyramid.

Source:

Members

:Property

A Property which returns an array of Spherical instances representing the pyramid's projection.
Default Value:
  • undefined

:Property

Gets or sets the Color Property specifying the color of the line formed by the intersection of the pyramid and other central bodies.

:Property

Gets or sets the numeric Property specifying the width of the line formed by the intersection of the pyramid and other central bodies.

:MaterialProperty

Gets or sets the MaterialProperty specifying the the pyramid's appearance.

:Property

Gets or sets the numeric Property specifying the radius of the pyramid's projection.

:Property

Gets or sets the boolean Property specifying the visibility of the pyramid.

:Property

Gets or sets the boolean Property specifying the visibility of the line formed by the intersection of the pyramid and other central bodies.

Methods

<static>

Given two DynamicObjects, takes the pyramid properties from the second and assigns them to the first, assuming such a property did not already exist.

Parameters:
Name Type Description
targetObject DynamicObject The DynamicObject which will have properties merged onto it.
objectToMerge DynamicObject The DynamicObject containing properties to be merged.

<static>

Given a DynamicObject, undefines the pyramid associated with it.

Parameters:
Name Type Description
dynamicObject DynamicObject The DynamicObject to remove the pyramid from.