Camera3DD class

Camera, defines position/orientation in 3d space

Inheritance

Constructors

Camera3DD({StructPointer<Camera3DD>? op, Vector3D? position, Vector3D? target, Vector3D? up, double fovy = 45, CameraProjection projection = .CAMERA_PERSPECTIVE})
Camera3DD.zero()
factory

Properties

$state → RaylibTempStructState
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
fovy ↔ double
Camera field-of-view aperture in Y (degrees) in perspective, used as near plane height in world units in orthographic
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
op ↔ StructPointer<Camera3DD>?
The C-owned or RaylibTemp-owned typed pointer for this struct, if any.
getter/setter pairinherited
position ↔ Vector3D
Camera position
getter/setter pair
projection ↔ CameraProjection
Camera projection: CAMERA_PERSPECTIVE or CAMERA_ORTHOGRAPHIC
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
structIsDisposed → bool
Whether structMarkDisposed has been called on this instance.
no setterinherited
structName → String
The Dart-side type name of this struct
no setterinherited
target ↔ Vector3D
Camera target it looks-at
getter/setter pair
up ↔ Vector3D
Camera up vector (rotation over its axis)
getter/setter pair

Methods

clone() → Camera3DD
Returns a deep copy of this instance, preserving op if present.
override
copy() → Camera3DD
Returns a deep copy of this instance without op.
inherited
getOp() → StructPointer<Camera3DD>
Returns op, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
getOpAndDispose() → StructPointer<Camera3DD>
Returns op and immediately disposes this struct.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDart(Camera3DD o) → Camera3DD
Copies the fields of o into this instance.
override
signature() → String
Returns a human-readable representation of this struct.
override
structAllocateInto(RaylibTemp<RaylibBase> temp, MemoryPointer<RType> p, String key) → void
Allocates nested pointers into temp under key as needed.
inherited
structMarkDisposed() → void
Marks this instance as disposed and clears op.
inherited
structOnOp(void callback(StructPointer<Camera3DD> p)) → void
Calls callback with op if it is set, otherwise no-ops.
inherited
structReadFrom(MemoryPointer<RType> p) → void
override
structSetTag(String newTag) → Camera3DD
Sets RaylibTempStructState.tag to newTag.
inherited
structSyncFromMemory() → void
Syncs all fields from the memory. Requires op.
inherited
structSyncToMemory() → void
Syncs all fields to the memory. Requires op.
inherited
structWriteInto(MemoryPointer<RType> p) → void
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

field_fovy → StructValueField<double, RFloat>
Field descriptor for fovy.
final
field_position → StructValueField<Vector3D, RStruct>
Field descriptor for position.
final
field_projection → StructValueField<int, RInt>
Field descriptor for projection.
final
field_target → StructValueField<Vector3D, RStruct>
Field descriptor for target.
final
field_up → StructValueField<Vector3D, RStruct>
Field descriptor for up.
final
struct → StructType<Camera3DD>
Describes the raw memory layout, construction, and pointer representation of this struct type.
final
structLayout → StructLayout<Camera3DField>
Raw memory layout of this object.
final