menu
flame_3d package
documentation
extensions.dart
extensions.dart
dark_mode
light_mode
extensions
library
Classes
QuaternionUtils
Vector2Utils
Vector3Utils
Vector4Utils
Extensions
Aabb3Extension
on
Aabb3
ColorExtension
on
Color
Matrix4Extension
on
Matrix4
QuaternionExtension
on
Quaternion
Vector2Extension
on
Vector2
Vector2Math
on
ImmutableVector2
Vector3Extension
on
Vector3
Vector3Math
on
ImmutableVector3
Vector4Extension
on
Vector4
Vector4Math
on
ImmutableVector4
Constants
degrees2Radians
→ const
double
Constant factor to convert and angle from degrees to radians.
Functions
setOrthographicMatrix
(
Matrix4
orthographicMatrix
,
double
left
,
double
right
,
double
bottom
,
double
top
,
double
near
,
double
far
)
→ void
Constructs an OpenGL orthographic projection matrix in
orthographicMatrix
.
setPerspectiveMatrix
(
Matrix4
perspectiveMatrix
,
double
fovYRadians
,
double
aspectRatio
,
double
zNear
,
double
zFar
)
→ void
Constructs an OpenGL perspective projection matrix in
perspectiveMatrix
.
setViewMatrix
(
Matrix4
viewMatrix
,
Vector3
cameraPosition
,
Vector3
cameraFocusPosition
,
Vector3
upDirection
)
→ void
Constructs an OpenGL view matrix in
viewMatrix
. View transformation is the inverse of the model transformation. View matrix is commonly used to compute the camera location/orientation into the full model-view stack.
Typedefs
ImmutableVector2
= (
{
double
x
,
double
y
}
)
Represents an immutable
Vector2
.
ImmutableVector3
= (
{
double
x
,
double
y
,
double
z
}
)
Represents an immutable
Vector3
.
ImmutableVector4
= (
{
double
w
,
double
x
,
double
y
,
double
z
}
)
Represents an immutable
Vector3
.
flame_3d package
documentation
extensions.dart
flame_3d
package
Libraries
camera
components
core
extensions
game
graphics
resources
extensions library