Class: DisplayObject3D

DisplayObject3D

(abstract) new DisplayObject3D()

The DisplayObject3D class is an abstract class that serves as the base for all 3D capable elements to be used within a DepthJS Stage3D scene. Any class that inherits from DisplayObject3D also inherits from createjs.DisplayObject and therefore has all events and interactivity of any createjs.DisplayObject.

See createjs.DisplayObject to understand the properties, methods, and events it inherits from createjs.DisplayObject.
Source:

Extends

  • createjs.DisplayObject

Members

rotX :Number

The rotX property sets the x-axis rotation value for the DisplayObject3D instance in degrees.
Type:
  • Number
Default Value:
  • 0
Source:

rotY :Number

The rotY property sets the y-axis rotation value for the DisplayObject3D instance in degrees.
Type:
  • Number
Default Value:
  • 0
Source:

rotZ :Number

The rotY property sets the y-axis rotation value for the DisplayObject3D instance in degrees.
Type:
  • Number
Default Value:
  • 0
Source:

stage3D :Stage3D

Each DisplayObject3D has a stage3D property that allows it to tell which stage it is currently in the display list of. Is null when not in a display list.
Type:
Default Value:
  • null
Source:

transform3D :Transform3D

Contains the DipslayObject3D's local and global transform data.
Type:
Source:

x :Number

The x property sets the x coordinate value for the DisplayObject3D instance.
Type:
  • Number
Default Value:
  • 0
Source:

y :Number

The y property sets the y coordinate value for the DisplayObject3D instance.
Type:
  • Number
Default Value:
  • 0
Source:

z :Number

The z property sets the z coordinate value for the DisplayObject3D instance.
Type:
  • Number
Default Value:
  • 0
Source: