ColliderShape3D enum
The shapes a Collider3D can be.
Values
- box → const ColliderShape3D
-
A box Collider3D.size big.
- sphere → const ColliderShape3D
-
A sphere of Collider3D.radius.
- capsule → const ColliderShape3D
-
A capsule along Y, Collider3D.height tall overall, of Collider3D.radius.
- cylinder → const ColliderShape3D
-
A cylinder along Y, Collider3D.height tall, of Collider3D.radius.
- convexHull → const ColliderShape3D
-
The convex hull of a model's vertices (Collider3D.model).
- mesh → const ColliderShape3D
-
A model's triangles (Collider3D.model); static and kinematic bodies only.
- heightField → const ColliderShape3D
-
Terrain from Collider3D.heights; static bodies only.
- matchShape → const ColliderShape3D
-
The shape its entity is drawn as — a 3-D shape such as just_graphics_engine's
Cube3DorStairs3D(any SolidShapeSource on the entity) — following it as it changes. A concave one is made of convex parts, so it works on a dynamic body too.
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<
ColliderShape3D> - A constant List of the values in this enum, in order of their declaration.