DoubleSidedPlane
Extends:
A scenegraph tree who's two leaf nodes are Plane instances facing
opposite directions. For the purposes of these docs, in a brand new app with
only a single DoubleSidedPlane
added to the context, and having no
rotation, "plane1" faces you and "plane2" faces away.
Constructor Summary
Public Constructor | ||
public |
constructor(initialOptions: Object) |
Method Summary
Public Methods | ||
public |
getContent(): Array Get the content of the famous/src/core/Surface of each Plane. |
|
public |
setContent(content: Array) Set the content of both Plane instances. |
Public Constructors
public constructor(initialOptions: Object) source
Creates a new DoubleSidedPlane
who's initialOptions
get passed to
both Plane instances, as well as this DoubleSidedPlane's parent
Molecule constructor.
Params:
Name | Type | Attribute | Description |
initialOptions | Object | The options to initiate the |
Public Methods
public getContent(): Array source
Get the content of the famous/src/core/Surface of each Plane.
Return:
Array | An array containing two items, the content of each
|