Sp3dOrthographicCamera class
(en)It is a camera for shooting Sp3dWorld. If use this, to ignore the z-axis value. However, please note that the lights are z-dependent.
(ja)Sp3dWorldの撮影用カメラです。 これを使用するとz軸の値を無視して撮影します。 ただし、ライトについてはz軸依存になるので注意してください。
Author Masahide Mori
First edition creation date 2022-12-18 17:13:37
- Inheritance
-
- Object
- Sp3dCamera
- Sp3dOrthographicCamera
Constructors
- Sp3dOrthographicCamera(Sp3dV3D position, double focusLength, {Sp3dV3D? rotateAxis, double radian = 0, bool isAllDrawn = false})
- Constructor
Properties
- focusLength ↔ double
-
getter/setter pairinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAllDrawn ↔ bool
-
getter/setter pairinherited
- position ↔ Sp3dV3D
-
getter/setter pairinherited
- radian ↔ double
-
getter/setter pairinherited
- rotateAxis ↔ Sp3dV3D
-
getter/setter pairinherited
- rotatedPosition ↔ Sp3dV3D
-
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
convert(
Sp3dObj obj, Sp3dV2D origin) → List< Sp3dV2D> -
(en)Take a picture of an object on the world with this camera.
The vertex coordinates of the object are converted to 2D coordinates for screen display and returned.
override
-
deepCopy(
) → Sp3dCamera -
deep copy.
inherited
-
getPrams(
List< Sp3dObj> objs, Sp3dV2D origin) → List<Sp3dFaceObj> -
(en)Generates and returns an arithmetic data object for drawing.
The return value does not include data that is not drawn.
inherited
-
move(
Sp3dV3D position) → Sp3dCamera -
(en)Move the position of this camera.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rotate(
Sp3dV3D norAxis, double radian) → Sp3dCamera -
(en)Rotate this camera.
inherited
-
toDict(
) → Map< String, dynamic> -
Used to save state.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromDict(
Map< String, dynamic> src) → Sp3dOrthographicCamera -
Used to restore state.
override