LightBase<X extends LightBase<X, V3, M, Q, V4, C>, V3 extends Vector3Base<V3, M, Q, V4>, M extends MatrixBase<M, V3, Q, V4>, Q extends QuaternionBase<Q, M, V3, V4>, V4 extends Vector4Base<V4, Q, M, V3>, C extends ColorBase<C>> mixin

Backend-agnostic contract for LightBase structs.

Must be mixed into every concrete platform implementation of a Raylib type to ensure a unified API surface across different backends.

Superclass constraints
Mixin applications

Properties

$state RaylibTempStructState
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
attenuation double
getter/setter pair
attenuationLoc int
getter/setter pair
color ↔ C
getter/setter pair
colorLoc int
getter/setter pair
enabled bool
getter/setter pair
enabledLoc int
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
position ↔ V3
getter/setter pair
positionLoc int
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
structName String
The Dart-side type name of this struct
no setterinherited
target ↔ V3
getter/setter pair
targetLoc int
getter/setter pair
type LightType
getter/setter pair
typeLoc int
getter/setter pair

Methods

clone() → X
Returns a deep copy of this instance, preserving RaylibStructBase.originalPointer if present.
inherited
copy() → X
Returns a deep copy of this instance without RaylibStructBase.originalPointer.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setD(X o) → X
Copies the fields of o into this instance and returns this.
inherited
signature() String
Returns a human-readable representation of this struct's current field values.
override
toString() String
A string representation of this object.
inherited

Operators

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