| Package | org.papervision3d.core.geom |
| Class | public class Lines3D |
| Inheritance | Lines3D Vertices3D DisplayObject3D DisplayObjectContainer3D flash.events.EventDispatcher |
| Subclasses | UCS |
| Property | Defined by | ||
|---|---|---|---|
![]() | alpha : Number = 1
指定されたオブジェクトのアルファ透明度値を示します。
| DisplayObject3D | |
![]() | autoCalcScreenCoords : Boolean
自動的にスクリーン座標を計算するかどうかを取得または設定します。
autoCalcScreenCoords を true にした場合には、screenX または screenY で Viewport 上の X, Y 座標を取得することができます。
| DisplayObject3D | |
![]() | blendMode : String = "normal"
使用するブレンドモードを指定する BlendMode クラスの値です。
| DisplayObject3D | |
![]() | children : Object
子オブジェクトを取得します。
Returns the children object.
| DisplayObjectContainer3D | |
![]() | container : ViewportLayer | DisplayObject3D | |
![]() | culled : Boolean
[internal use] このオブジェクトはカメラの視錐台によってカリングされますか?
Is this object culled by camera frustum?
| DisplayObject3D | |
![]() | cullTest : Number = 0 | DisplayObject3D | |
![]() | extra : Object
ユーザーが定義したプロパティを格納するオブジェクトです。
追加した領域の全てのプロパティは新しいインスタンスにコピーされます。
追加で指定されたプロパティは public に利用できます。
An object that contains user defined properties.
All properties of the extra field are copied into the new instance.
| DisplayObject3D | |
![]() | faceLevelMode : Boolean [static]
これはオブジェクトの表面がオブジェクト自体のコンテナを持つ事を可能にします。
This allows objects faces to have their own containers.
| DisplayObject3D | |
![]() | faces : Array
[internal-use]
| DisplayObject3D | |
![]() | filters : Array
表示オブジェクトに現在関連付けられている各フィルタオブジェクトが格納されているインデックス付きの配列です。
| DisplayObject3D | |
![]() | flipLightDirection : Boolean = false | DisplayObject3D | |
![]() | frustumTestMethod : int = 0 | DisplayObject3D | |
![]() | geometry : GeometryObject3D
このインスタンスの3D定義を格納する GeometryObject3D オブジェクトです。
異なるオブジェクトが同じジオメトリーを共有する場合、それらはインスタンスになります。
それらは同じオブジェクトなので何度も表示されます。
このオブジェクトのシェイプを替える事は、その全てのインスタンスのシェイプを替える事になります。
インスタンス化するオブジェクトはシステムメモリーを保存し、そのシェイプを維持する間、何度もオブジェクトを表示するのに役立ちます。
例えば、あなたが複製オブジェクトでいっぱいの兵隊と木々を作成するのに、実際のジオメトリーにマッチする処理にメモリーを必要としません。
各インスタンスがそれぞれトランスフォームノードを持つので、それらの位置、回転、スケールを持つ事が出来るのです。
The GeometryObject3D object that contains the 3D definition of this instance.
| DisplayObject3D | |
![]() | id : int
[読み取り専用] DisplayObject3D インスタンスのユニーク ID です。
Unique id of this instance.
| DisplayObject3D | |
| lines : Array | Lines3D | ||
![]() | localRotationX : Number
オブジェクトが持つローカル座標の X 軸に沿って表示オブジェクトを前方回転、または後方回転させます。
Papervision3D2.x では左手座標系を採用しているので、
オブジェクトが持つローカル座標の X 軸の正の方向が右側を向く時、pitch の値が正をとる事により、オブジェクトは前方に回転します。
(言いかえれば、飛行機の翼を X 軸として、pitch を上げる事により機首が下がり、尾翼が上がる様なイメージです。)
Rotate the display object around its lateral or transverse axis ?an axis running from the pilot's left to right in piloted aircraft,
and parallel to the wings of a winged aircraft; thus the nose pitches up and the tail down, or vice-versa.
| DisplayObject3D | |
![]() | localRotationY : Number
オブジェクトが持つローカル座標の Y 軸に沿って表示オブジェクトを左転回、または右転回させます。
Rotate the display object around about the vertical axis ?an axis drawn from top to bottom.
| DisplayObject3D | |
![]() | localRotationZ : Number
オブジェクトが持つローカル座標の Z 軸に沿って表示オブジェクトを左回転、または右回転させます。
Rotate the display object around the longitudinal axis ?an axis drawn through the body of the vehicle from tail to nose in the normal direction of flight, or the direction the object is facing.
| DisplayObject3D | |
![]() | material : MaterialObject3D | DisplayObject3D | |
![]() | materials : MaterialsList
このインスタンスのためのマテリアルのリスト
The list of materials for this instance.
| DisplayObject3D | |
![]() | meshSort : uint = 1
Mesh3D の render() メソッドは、三角形のソーティングのためにユーザーが選択した長さを比較します。
tells Mesh3D's render() method to compare the measurement choice of the user for a triangle's sorting
| DisplayObject3D | |
![]() | name : String
DisplayObject3D のインスタンス名を示します。
An optional object name.
| DisplayObject3D | |
![]() | numChildren : int
オブジェクトの子の数を取得します。
Returns the number of children of this object.
| DisplayObjectContainer3D | |
![]() | parent : DisplayObjectContainer3D
[読み取り専用] この表示オブジェクトを含む DisplayObjectContainer3D オブジェクトを示します。
Indicates the DisplayObjectContainer3D object that contains this display object.
| DisplayObject3D | |
![]() | parentContainer : DisplayObject3D | DisplayObject3D | |
![]() | position : Number3D
DisplayObject3D の最新の x,y,z を格納する Number3D を取得または設定します。
A Number3D containing the current x, y, and z of the DisplayObject3D
| DisplayObject3D | |
![]() | root : DisplayObjectContainer3D
[読み取り専用] シーンは、ツリー構造の DisplayObjectContainer3D のトップです。
[読み取り専用] The scene, which is the top-most DisplayObjectContainer3D in the tree structure.
| DisplayObjectContainer3D | |
![]() | rotationX : Number
DisplayObject3D インスタンスの 3D 親コンテナを基準にした元の位置からの x 軸の回転角を度単位で示します。
Specifies the rotation around the X axis from its original orientation.
| DisplayObject3D | |
![]() | rotationY : Number
DisplayObject3D インスタンスの 3D 親コンテナを基準にした元の位置からの y 軸の回転角を度単位で示します。
Specifies the rotation around the Y axis from its original orientation.
| DisplayObject3D | |
![]() | rotationZ : Number
DisplayObject3D インスタンスの 3D 親コンテナを基準にした元の位置からの z 軸の回転角を度単位で示します。
Specifies the rotation around the Z axis from its original orientation.
| DisplayObject3D | |
![]() | scale : Number
基準点から適用されるオブジェクトのスケールを示します。
Sets the 3D scale as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scaleX : Number
基準点から適用されるオブジェクトの x 軸スケールを示します。
Sets the scale along the local X axis as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scaleY : Number
基準点から適用されるオブジェクトの y 軸スケールを示します。
Sets the scale along the local Y axis as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scaleZ : Number
基準点から適用されるオブジェクトの z 軸スケールを示します。
Sets the scale along the local Z axis as applied from the registration point of the object.
| DisplayObject3D | |
![]() | scene : SceneObject3D | DisplayObject3D | |
![]() | sceneX : Number
scene 座標系に関連付けられたオブジェクトの X 座標です。
The X coordinate of a object relative to the scene coordinate system.
| DisplayObject3D | |
![]() | sceneY : Number
scene 座標系に関連付けられたオブジェクトの Y 座標です。
The Y coordinate of a object relative to the scene coordinate system.
| DisplayObject3D | |
![]() | sceneZ : Number
scene 座標系に関連付けられたオブジェクトの Z 座標です。
The Z coordinate of a object relative to the scene coordinate system.
| DisplayObject3D | |
![]() | screen : Number3D
[読み取り専用] スクリーン上のオブジェクトの座標です。
coordinate of the object on screen.
| DisplayObject3D | |
![]() | screenZ : Number
[internal-use] オブジェクトの平均深度を中央に向かせます。内部のz-ソーティングに使用されます。
The average depth of the object faces center.
| DisplayObject3D | |
![]() | sortedArray : Array [static]
| DisplayObject3D | |
![]() | testQuad : Boolean = true | DisplayObject3D | |
![]() | transform : Matrix3D
Matrix3D オブジェクトはディスプレイオブジェクトのスケール,rotation,translation の値を格納します。
A Matrix3D object containing values that affect the scaling, rotation, and translation of the display object.
| DisplayObject3D | |
![]() | useClipping : Boolean = true
クリッピングを使用するかを取得または設定します。
| DisplayObject3D | |
![]() | useOwnContainer : Boolean
親のコンテナーを利用してプロパティ-を適用するかどうかを取得または設定します。
true の場合は alpha や filters のプロパティーを親のコンテナーを利用して適用します。
false の場合は alpha や filters のプロパティーは適用されません。
| DisplayObject3D | |
![]() | userData : UserData | DisplayObject3D | |
![]() | view : Matrix3D
[internal-use] カメラを Matrix3D オブジェクトに変化させます。
[internal-use] A camera transformed Matrix3D object.
| DisplayObject3D | |
![]() | visible : Boolean
表示オブジェクトが可視かどうかを示します。
Whether or not the display object is visible.
A Boolean value that indicates whether the object is projected, transformed and rendered.
| DisplayObject3D | |
![]() | world : Matrix3D
ワールド変換の行列です。
World transformation.
| DisplayObject3D | |
![]() | x : Number
親 DisplayObjectContainer3D のローカル座標を基準にした DisplayObject3D インスタンスの x 座標を示します。
An Number that sets the X coordinate of a object relative to the origin of its parent.
| DisplayObject3D | |
![]() | y : Number
親 DisplayObjectContainer3D のローカル座標を基準にした DisplayObject3D インスタンスの y 座標を示します。
An Number that sets the Y coordinate of a object relative to the origin of its parent.
| DisplayObject3D | |
![]() | z : Number
親 DisplayObjectContainer3D のローカル座標を基準にした DisplayObject3D インスタンスの z 座標を示します。
An Number that sets the Z coordinate of a object relative to the origin of its parent.
| DisplayObject3D | |
![]() | ZERO : DisplayObject3D
[static]
3D座標系(0,0,0)の中央に配置された空の DisplayObject3D オブジェクトを取得します。
Returns an empty DiplayObject3D object positioned in the center of the 3D coordinate system (0, 0 ,0).
| DisplayObject3D | |
| Method | Defined by | ||
|---|---|---|---|
|
Lines3D(material:LineMaterial = null, name:String = null)
| Lines3D | ||
![]() |
この DisplayObjectContainer3D インスタンスに子 DisplayObject3D インスタンスを追加します。
Adds a child DisplayObject3D instance to this DisplayObjectContainer instance.
[TODO: If you add a child object that already has a different display object container as a parent, the object is removed from the child list of the other display object container.]
| DisplayObject3D | |
![]() |
この DisplayObjectContainer インスタンスに、全ての DisplayObject3D インスタンスの子を追加します。
Adds all the children of a DisplayObject3D instance to this DisplayObjectContainer instance.
| DisplayObjectContainer3D | |
![]() | DisplayObject3D | ||
![]() |
addGeometry(geometry:GeometryObject3D = null):void
インスタンスにジオメトリー定義を追加します。
Adds a geometry definition to the instance.
ジオメトリーが scene の中のオブジェクトのビジュアルシェイプとアピアレンスを描写します。
A geometry describes the visual shape and appearance of an object in a scene.
| DisplayObject3D | |
|
Line3D オブジェクトを、この Line3D コンテナに追加します。
Adds a Line3D object to this Lines3D container.
| Lines3D | ||
|
addNewLine(size:Number, x0:Number, y0:Number, z0:Number, x1:Number, y1:Number, z1:Number):Line3D
与えた引数から新しいラインを作成し、追加します。
Creates a new line from the parameters passed and adds it.
| Lines3D | ||
|
addNewSegmentedLine(size:Number, segments:Number, x0:Number, y0:Number, z0:Number, x1:Number, y1:Number, z1:Number):Array
これは addNewLine とほぼ同じですが、ラインの全てを作成するのと同時に、ラインをより短く分割する点で異なります。
z 深度のソーティングを改善する為に役立ちます。
This is identical to addNewLine, except it breaks up the line into several shorter line segments
that together make up the full line.
| Lines3D | ||
![]() |
boundingBox():Object
3D のバウンディングボックスを計算します。
Calculates 3D bounding box.
| Vertices3D | |
![]() |
calculateScreenCoords(camera:CameraObject3D):void
| DisplayObject3D | |
![]() |
childrenList():String
オブジェクトのリストで string 値を取得します。
Returns a string value with the list of objects.
| DisplayObjectContainer3D | |
![]() |
このオブジェクトのクローンです。
Clones this object.
| Vertices3D | |
![]() |
copyPosition(reference:*):void
オブジェクトまたは Matrix3D から x,y,z 座標の位置情報をコピーします。
Copies the position information (x, y and z coordinates) from another object or Matrix3D.
| DisplayObject3D | |
![]() |
copyTransform(reference:*):void
オブジェクトまたは Matrix3D から位置、ローテーション、スケールの情報をコピーします。
Copies the transformation information (position, rotation and scale) from another object or Matrix3D.
| DisplayObject3D | |
![]() | DisplayObject3D | ||
![]() |
distanceTo(obj:DisplayObject3D):Number
引数で受け取ったオブジェクトとの距離を計測します。
Gets the distance to the position of the given object.
| DisplayObject3D | |
![]() |
getChildByName(name:String, recursive:Boolean = false):DisplayObject3D
指定された名前で存在する、子表示オブジェクトを取得します。
ひとつの表示オブジェクトが指定された名前をそれ以上持っているとき、このメソッドは子リストの始めのオブジェクトを取得します。
Returns the child display object that exists with the specified name.
| DisplayObjectContainer3D | |
![]() |
getMaterialByName(name:String):MaterialObject3D
マテリアルリストで指定された名前でマテリアルを取得します。
指定された名前を持つマテリアルオブジェクトが更にあったら、マテリアルリストの最初のマテリアルオブジェクトを取得します。
Returns the material that exists with the specified name in the materials list.
If more that one material object has the specified name, the method returns the first material object in the materials list.
| DisplayObject3D | |
![]() |
hitTestObject(obj:DisplayObject3D, multiplier:Number = 1):Boolean
表示オブジェクトの境界ボックスを評価して、obj 表示オブジェクトの境界ボックスと重複または交差するかどうかを調べます。
Evaluates the display object to see if it overlaps or intersects with the obj display object.
| DisplayObject3D | |
![]() |
hitTestPoint(x:Number, y:Number, z:Number):Boolean
表示オブジェクトを評価して、x, y, z パラメータで指定されたポイントと重複または交差するかどうかを調べます。
Evaluates the display object to see if it overlaps or intersects with the point specified by the x, y and z parameters.
The x, y and z parameters specify a point in the coordinate space of the instance parent object, not the scene (unless that parent object is the scene).
| DisplayObject3D | |
![]() |
引数に受け取ったオブジェクトの方向を向くように回転させます。
Make the object look at a specific position.
| DisplayObject3D | |
![]() |
materialsList():String
マテリアルリストのマテリアル名のリストで string 値を取得します。
Returns a string value with the list of material names of the materials list.
| DisplayObject3D | |
![]() |
moveBackward(distance:Number):void
後ろ向きに指定した距離だけ移動します。
Translate the display object in the opposite direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveDown(distance:Number):void
下方向に指定した距離だけ移動します。
Translate the display object downwards, with respect to the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveForward(distance:Number):void
正面に指定した距離だけ移動します。
Translate the display object in the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveLeft(distance:Number):void
左向きに指定した距離だけ移動します。
Translate the display object lateraly, to the left of the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveRight(distance:Number):void
右向きに指定した距離だけ移動します。。
Translate the display object lateraly, to the right of the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
moveUp(distance:Number):void
上方向に指定した距離だけ移動します。
Translate the display object upwards, with respect to the direction it is facing, i.e.
| DisplayObject3D | |
![]() |
pitch(angle:Number):void
オブジェクトが持つローカル座標の X 軸に沿って表示オブジェクトを前方回転、または後方回転させます。
Rotate the display object around its lateral or transverse axis ?an axis running from the pilot's left to right in piloted aircraft, and parallel to the wings of a winged aircraft; thus the nose pitches up and the tail down, or vice-versa.
| DisplayObject3D | |
|
project(parent:DisplayObject3D, renderSessionData:RenderSessionData):Number
3D の頂点を 2D 空間に変換し、レンダリングする為にステージ上に用意します。
Converts 3D vertices into 2D space, to prepare for rendering onto the stage.
| Lines3D | ||
![]() |
projectEmpty(parent:DisplayObject3D, renderSessionData:RenderSessionData):Number
| Vertices3D | |
![]() |
projectFrustum(parent:DisplayObject3D, renderSessionData:RenderSessionData):Number
| Vertices3D | |
|
removeAllLines():void
全てのラインを削除します。
| Lines3D | ||
![]() |
DisplayObjectContainer3D インスタンスの子リストから、指定された子 DisplayObject3D インスタンスを削除します。
ガーベージコレクターは、使用されないメモリスペースを Flash Player によって再割り当てするプロセスです。
変数またはオブジェクトが、これからどこかで参照または格納されないとき、
メモリスペースのためにそれらを削除します。
Removes the specified child DisplayObject3D instance from the child list of the DisplayObjectContainer3D instance.
| DisplayObjectContainer3D | |
![]() |
removeChildByName(name:String):DisplayObject3D
指定の名前に存在する DisplayObject3D オブジェクトインスタンスを、DisplayObjectContainer3D インスタンスの子リストから削除します。
ひとつの表示オブジェクトが指定された名前をそれ以上持っているとき、このメソッドは子リストの始めのオブジェクトを削除します。
ガーベージコレクターは、使用されないメモリスペースを Flash Player によって再割り当てするプロセスです。
変数またはオブジェクトが、これからどこかで参照または格納されないとき、
メモリスペースのためにそれらを削除します。
Removes the child DisplayObject3D instance that exists with the specified name, from the child list of the DisplayObjectContainer3D instance.
| DisplayObjectContainer3D | |
|
removeLine(line:Line3D):void
ラインを削除します。
| Lines3D | ||
![]() |
replaceMaterialByName(material:MaterialObject3D, name:String):void
マテリアルをその名前で置き換えます。
Replaces a material by its name.
| DisplayObject3D | |
![]() |
roll(angle:Number):void
オブジェクトが持つローカル座標の Z 軸に沿って表示オブジェクトを左回転、または右回転させます。
Rotate the display object around the longitudinal axis ?an axis drawn through the body of the vehicle from tail to nose in the normal direction of flight, or the direction the object is facing.
| DisplayObject3D | |
![]() |
setChildMaterial(child:DisplayObject3D, material:MaterialObject3D, existingMaterial:MaterialObject3D = null):void
子 DisplayObject3D のためにマテリアルを設定します。
Sets the material for a child DisplayObject3D.
| DisplayObject3D | |
![]() |
setChildMaterialByName(childName:String, material:MaterialObject3D):void
子の名前で、子 DisplayObject3D の為にマテリアルを設定します。
Sets the material for a child DisplayObject3D by the child's name.
| DisplayObject3D | |
![]() |
toString():String
指定されたオブジェクトのストリング表現を返します。
Returns a string value representing the three-dimensional position values of the display object instance.
| DisplayObject3D | |
![]() |
transformVertices(transformation:Matrix3D):void
| Vertices3D | |
![]() |
与えられた方向に従ってオブジェクトを移動させます。
Move the object along a given direction.
| DisplayObject3D | |
![]() |
updateTransform():void
[internal-use] 最初のローテーション、スケール値で Matrix3D 変換を更新します。
Updates the transform Matrix3D with the current rotation and scale values.
| DisplayObject3D | |
![]() |
worldBoundingBox():Object
ワールド座標の中で 3D のバウンディングボックスを計算します。
Calculates 3D bounding box in world space.
| Vertices3D | |
![]() |
yaw(angle:Number):void
オブジェクトが持つローカル座標の Y 軸に沿って表示オブジェクトを左転回、または右転回させます。
Rotate the display object around about the vertical axis ?an axis drawn from top to bottom.
| DisplayObject3D | |
| lines | property |
public var lines:Array
| Lines3D | () | constructor |
public function Lines3D(material:LineMaterial = null, name:String = null)Parameters
material:LineMaterial (default = null) — The default material for this Lines3D. If ommitted then the default
LineMaterial3D is used.
|
|
name:String (default = null) — An identifier for this Lines object.
|
| addLine | () | method |
public function addLine(line:Line3D):voidLine3D オブジェクトを、この Line3D コンテナに追加します。 Adds a Line3D object to this Lines3D container.
Parametersline:Line3D — The Line3D object to add.
|
| addNewLine | () | method |
public function addNewLine(size:Number, x0:Number, y0:Number, z0:Number, x1:Number, y1:Number, z1:Number):Line3D与えた引数から新しいラインを作成し、追加します。 Creates a new line from the parameters passed and adds it.
Parameterssize:Number — The weight of the line.
|
|
x0:Number — The line's start x position.
|
|
y0:Number — The line's start y position.
|
|
z0:Number — The line's start z position.
|
|
x1:Number — The line's end x position.
|
|
y1:Number — The line's end y position.
|
|
z1:Number — The line's end z position.
|
Line3D —
The line just created.
|
| addNewSegmentedLine | () | method |
public function addNewSegmentedLine(size:Number, segments:Number, x0:Number, y0:Number, z0:Number, x1:Number, y1:Number, z1:Number):Arrayこれは addNewLine とほぼ同じですが、ラインの全てを作成するのと同時に、ラインをより短く分割する点で異なります。 z 深度のソーティングを改善する為に役立ちます。 This is identical to addNewLine, except it breaks up the line into several shorter line segments that together make up the full line. This would be useful for improved z-depth sorting.
Parameterssize:Number — The weight of the line.
|
|
segments:Number — The number of segments to break up the line into
|
|
x0:Number — The line's start x position.
|
|
y0:Number — The line's start y position.
|
|
z0:Number — The line's start z position.
|
|
x1:Number — The line's end x position.
|
|
y1:Number — The line's end y position.
|
|
z1:Number — The line's end z position.
|
Array — An array of the lines just created.
|
| project | () | method |
public override function project(parent:DisplayObject3D, renderSessionData:RenderSessionData):Number3D の頂点を 2D 空間に変換し、レンダリングする為にステージ上に用意します。 Converts 3D vertices into 2D space, to prepare for rendering onto the stage.
Parametersparent:DisplayObject3D — parent The parent DisplayObject3D
|
|
renderSessionData:RenderSessionData — renderSessionData The renderSessionData object for this render cycle.
|
Number |
| removeAllLines | () | method |
public function removeAllLines():void全てのラインを削除します。
| removeLine | () | method |
public function removeLine(line:Line3D):voidラインを削除します。
Parametersline:Line3D — The line to remove.
|