BillboardFacing enum Geometry
How a billboard quad orients itself toward the camera.
Values
- spherical → const BillboardFacing
-
Per-particle camera-position facing: every quad's normal points at the eye. Stable as the camera rotates and the best default.
- axisLocked → const BillboardFacing
-
The quad's up axis is locked to BillboardGeometry.worldUp (upright flames, grass, ground cards) and it yaws to face the camera.
- velocityStretched → const BillboardFacing
-
The quad's up axis follows its per-instance velocity and its long edge stretches with speed (sparks, rain, speed lines). In-plane rotation is ignored in this mode.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
BillboardFacing> - A constant List of the values in this enum, in order of their declaration.