OrthographicCamera QML Type
正射影行列を持つカメラを定義します。詳細...
| Import Statement: | import QtQuick3D |
| Inherits: |
プロパティ
- clipFar : real
- clipNear : real
- horizontalMagnification : real
- verticalMagnification : real
詳細な説明
Camera は、3DシーンのコンテンツがView3D などの2D表面にどのように投影されるかを定義します。シーンの内容を可視化するには、少なくとも1つのCamera が必要です。
Camera は、シーン内の他の空間的なNode と同様に、位置や回転を設定することができます。Node の位置と向きによって、シーン内でのCamera の位置や、その向きが決定されます。Camera のデフォルトの向きでは、前方ベクトルはZ軸の負の方向を、上方向ベクトルはY軸の正の方向を指しています。

OrthographicCameraは平行投影Camera であり、平行な線は平行なまま保たれ、オブジェクトの知覚されるスケールはCamera からの距離の影響を受けません。このタイプのCamera の代表的な用途には、CAD(コンピュータ支援設計)アプリケーションや地図作成などがあります。
以下の例では、シーン内の位置 [0, 200, 300] に、下向き30度のピッチを持つ OrthographicCamera を作成します。
OrthographicCamera {
position: Qt.vector3d(0, 200, 300)
eulerRotation.x: -30
}関連項目: Qt Quick 3D - View3D の例、PerspectiveCamera 、FrustumCamera 、およびCustomCamera 。
プロパティのドキュメント
clipFar : real
このプロパティは、OrthographicCamera の視錐台における遠方クリップ面を定義します。Camera から遠方クリップ面よりも遠くにあるジオメトリは、表示されません。
デフォルト値は 10000.0 です。
「clipNear」も参照してください 。
clipNear : real
このプロパティは、OrthographicCamera の視錐台における近傍クリップ平面を定義します。近傍クリップ平面よりもCamera に近い位置にあるジオメトリは表示されません。
デフォルト値は 10.0 です。
「clipFar」も参照してください 。
horizontalMagnification : real
このプロパティは、OrthographicCamera の視錐体の水平方向の拡大率を保持します。
デフォルト値は 1.0 です。
「verticalMagnification」も参照してください 。
verticalMagnification : real
このプロパティは、OrthographicCamera の視錐台における垂直方向の拡大率を保持します。
デフォルト値は 1.0 です。
「horizontalMagnification」も参照してください 。
© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.