Sp3dCamera class
(en)It is a camera for shooting Sp3dWorld.
(ja)Sp3dWorldの撮影用カメラです。
Author Masahide Mori
First edition creation date 2021-09-30 12:05:24
- Implementers
Constructors
- Sp3dCamera(Sp3dV3D position, double focusLength, {Sp3dV3D? rotateAxis, double radian = 0, bool isAllDrawn = false})
- Constructor
Properties
- focusLength ↔ double
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAllDrawn ↔ bool
-
getter/setter pair
- position ↔ Sp3dV3D
-
getter/setter pair
- radian ↔ double
-
getter/setter pair
- rotateAxis ↔ Sp3dV3D
-
getter/setter pair
- rotatedPosition ↔ Sp3dV3D
-
getter/setter pair
- 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.
-
deepCopy(
) → Sp3dCamera - deep copy.
-
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.
-
move(
Sp3dV3D position) → Sp3dCamera - (en)Move the position of this camera.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
rotate(
Sp3dV3D norAxis, double radian) → Sp3dCamera - (en)Rotate this camera.
-
toDict(
) → Map< String, dynamic> - Used to save state.
-
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) → Sp3dCamera - Used to restore state.