Packageorg.unbland.threed.display
Classpublic class DisplayObject3D
InheritanceDisplayObject3D Inheritance flash.events.EventDispatcher
SubclassesCone, Plane, Torus



Public Properties
 PropertyDefined by
  color : RGB
このオブジェクトの色です.
DisplayObject3D
  diffuse : VectorRGB
平行光源に対する反射率です.
DisplayObject3D
  doubleSide : Boolean
オブジェクトの両面を描画するか否かです.
DisplayObject3D
  position : Vector3D
[read-only] このオブジェクトの位置をベクトルで表したものです.
DisplayObject3D
  rotationX : Number
このオブジェクトの rotationX 値です.
DisplayObject3D
  rotationY : Number
このオブジェクトの rotationY 値です.
DisplayObject3D
  rotationZ : Number
このオブジェクトの rotationZ 値です.
DisplayObject3D
  scale : Number
このオブジェクトの scale 値です.
DisplayObject3D
  scaleX : Number
このオブジェクトの scaleX 値です.
DisplayObject3D
  scaleY : Number
このオブジェクトの scaleY 値です.
DisplayObject3D
  scaleZ : Number
このオブジェクトの scaleZ 値です.
DisplayObject3D
  shadingType : String
このオブジェクトに適用するシェーディングの種類です.
DisplayObject3D
  surfaces : Array
[read-only] 平面が格納された配列です.
DisplayObject3D
  texture : BitmapData
このオブジェクトのテクスチャです.
DisplayObject3D
  vertices : Array
[read-only] 頂点が格納された配列です.
DisplayObject3D
  visible : Boolean
オブジェクトを描画するか否かです.
DisplayObject3D
  x : Number
このオブジェクトの x 値です.
DisplayObject3D
  y : Number
このオブジェクトの y 値です.
DisplayObject3D
  z : Number
このオブジェクトの z 値です.
DisplayObject3D
Protected Properties
 PropertyDefined by
  _surfaces : Array
DisplayObject3D
  _vertices : Array
DisplayObject3D
Public Methods
 MethodDefined by
  
このクラスは抽象クラスのため, 直接インスタンス化できません.
DisplayObject3D
  
flip():void
このオブジェクトに含まれる平面全てを反転します.
DisplayObject3D
  
getSurfaceAt(index:int):Surface3D
指定されたインデックス値の平面を返します.
DisplayObject3D
  
getVertexAt(index:int):Vertex3D
指定されたインデックス値の頂点を返します.
DisplayObject3D
Protected Constants
 ConstantDefined by
  PI : Number = 3.141592653589793
DisplayObject3D
  TO_DEGREE : Number = 57.29577951308232
DisplayObject3D
  TO_RADIAN : Number = 0.017453292519943295
DisplayObject3D
Property detail
colorproperty
color:RGB  [read-write]

このオブジェクトの色です.

Implementation
    public function get color():RGB
    public function set color(value:RGB):void
diffuseproperty 
diffuse:VectorRGB  [read-write]

平行光源に対する反射率です.

Implementation
    public function get diffuse():VectorRGB
    public function set diffuse(value:VectorRGB):void
doubleSideproperty 
doubleSide:Boolean  [read-write]

オブジェクトの両面を描画するか否かです.

Implementation
    public function get doubleSide():Boolean
    public function set doubleSide(value:Boolean):void
positionproperty 
position:Vector3D  [read-only]

このオブジェクトの位置をベクトルで表したものです.

Implementation
    public function get position():Vector3D
rotationXproperty 
rotationX:Number  [read-write]

このオブジェクトの rotationX 値です.

Implementation
    public function get rotationX():Number
    public function set rotationX(value:Number):void
rotationYproperty 
rotationY:Number  [read-write]

このオブジェクトの rotationY 値です.

Implementation
    public function get rotationY():Number
    public function set rotationY(value:Number):void
rotationZproperty 
rotationZ:Number  [read-write]

このオブジェクトの rotationZ 値です.

Implementation
    public function get rotationZ():Number
    public function set rotationZ(value:Number):void
scaleproperty 
scale:Number  [read-write]

このオブジェクトの scale 値です.

Implementation
    public function get scale():Number
    public function set scale(value:Number):void
scaleXproperty 
scaleX:Number  [read-write]

このオブジェクトの scaleX 値です.

Implementation
    public function get scaleX():Number
    public function set scaleX(value:Number):void
scaleYproperty 
scaleY:Number  [read-write]

このオブジェクトの scaleY 値です.

Implementation
    public function get scaleY():Number
    public function set scaleY(value:Number):void
scaleZproperty 
scaleZ:Number  [read-write]

このオブジェクトの scaleZ 値です.

Implementation
    public function get scaleZ():Number
    public function set scaleZ(value:Number):void
shadingTypeproperty 
shadingType:String  [read-write]

このオブジェクトに適用するシェーディングの種類です.

Implementation
    public function get shadingType():String
    public function set shadingType(value:String):void
_surfacesproperty 
protected var _surfaces:Array
surfacesproperty 
surfaces:Array  [read-only]

平面が格納された配列です.

Implementation
    public function get surfaces():Array
textureproperty 
texture:BitmapData  [read-write]

このオブジェクトのテクスチャです.

Implementation
    public function get texture():BitmapData
    public function set texture(value:BitmapData):void
_verticesproperty 
protected var _vertices:Array
verticesproperty 
vertices:Array  [read-only]

頂点が格納された配列です.

Implementation
    public function get vertices():Array
visibleproperty 
visible:Boolean  [read-write]

オブジェクトを描画するか否かです.

Implementation
    public function get visible():Boolean
    public function set visible(value:Boolean):void
xproperty 
x:Number  [read-write]

このオブジェクトの x 値です.

Implementation
    public function get x():Number
    public function set x(value:Number):void
yproperty 
y:Number  [read-write]

このオブジェクトの y 値です.

Implementation
    public function get y():Number
    public function set y(value:Number):void
zproperty 
z:Number  [read-write]

このオブジェクトの z 値です.

Implementation
    public function get z():Number
    public function set z(value:Number):void
Constructor detail
DisplayObject3D()constructor
public function DisplayObject3D()

このクラスは抽象クラスのため, 直接インスタンス化できません.


Throws
— 直接インスタンス化を試みた時にスローされます.
Method detail
flip()method
public function flip():void

このオブジェクトに含まれる平面全てを反転します.

getSurfaceAt()method 
public function getSurfaceAt(index:int):Surface3D

指定されたインデックス値の平面を返します.

Parameters
index:int — 平面のインデックス値です.

Returns
Surface3D
getVertexAt()method 
public function getVertexAt(index:int):Vertex3D

指定されたインデックス値の頂点を返します.

Parameters
index:int — 頂点のインデックス値です.

Returns
Vertex3D
Constant detail
PIconstant
protected const PI:Number = 3.141592653589793
TO_DEGREEconstant 
protected const TO_DEGREE:Number = 57.29577951308232
TO_RADIANconstant 
protected const TO_RADIAN:Number = 0.017453292519943295