org.papervision3d.core.proto.DisplayObject3D +--org.papervision3d.core.proto.CameraObject3D
The CameraObject3D class.
container, DEGREES, extra, PERCENT, rotationX, rotationY, rotationZ, scaleX, scaleY, scaleZ, scene, screenZ, visible, x, y, z, ZERO
public function CameraObject3D(zoom:Number, focus:Number, initObject:Object)
The CameraObject3D constructor will let you set up the view of a scene that will be rendered.
Its position can be specified in the initObject.
The default value of z is DEFAULT_Z.
FreeCamera3Dコンストラクタはレンダリングされる場面の視点をセットアップすることが出来ます。
initObjectで位置を指定することができます。
zのデフォルト値はDEFAULT_Zです。
zoom | [optional] - This value specifies the scale at which the 3D objects are rendered. Higher values magnify the scene, compressing distance. Use it in conjunction with focus. The default value is 2. [任意] この値は3Dオブジェクトがレンダリングされるスケールを指定します。 距離を圧縮して、より高い値は場面を拡大します。 焦点に関連してそれを使用してください。 デフォルト値は2です。 |
focus | [optional] - This value is a positive number representing the distance of the observer from the front clipping plane, which is the closest any object can be to the camera. Use it in conjunction with zoom. The default value is 100. [任意] この値は前のクリッピング面から観察者の距離を表す正の数です。 (その正の数はカメラにはいくつかの物が最も近くに、あることができるということです)。 ズームに関連してそれを使用してください。 デフォルト値は100です。 |
initObject | [optional] - An object that contains user defined properties with which to populate the newly created DisplayObject3D. [任意] - ユーザを含むオブジェクトは新たに作成されたDisplayObject3Dに居住する特性を定義しました。 It includes x, y, z, rotationX, rotationY, rotationZ, scaleX, scaleY scaleZ and a user defined data object. それはx、y、z、rotationX、rotationY、rotationZ、scaleX、scaleY scaleZ、およびユーザの定義されたデータ・オブジェクトを含んでいます。 If data is not an object, it is ignored. All properties of the data field are copied into the new instance. The properties specified with data are publicly available. データがオブジェクトでないなら、それは無視されます。 データ・フィールドのすべての特性が新しいインスタンスにコピーされます。 データで指定された特性は公的に利用可能です。
|
public zoom:Numberpublic focus:Numberpublic sort:Booleanstatic public DEFAULT_Z:Numberstatic public DEFAULT_ZOOM:Numberstatic public DEFAULT_FOCUS:Numberstatic public sort:Booleanstatic public viewport:Viewportprivate sin:Number3Dprivate cos:Number3D