Collider3DShape enum
The shapes a Collider3DComponent can be.
Values
- box → const Collider3DShape
-
A box Collider3DComponent.size big.
- sphere → const Collider3DShape
-
A sphere of Collider3DComponent.radius.
- capsule → const Collider3DShape
-
A capsule along Y, Collider3DComponent.height tall overall, of Collider3DComponent.radius.
- cylinder → const Collider3DShape
-
A cylinder along Y, Collider3DComponent.height tall, of Collider3DComponent.radius.
- convexHull → const Collider3DShape
-
The convex hull of a model's vertices (Collider3DComponent.model).
- mesh → const Collider3DShape
-
A model's triangles (Collider3DComponent.model); static and kinematic bodies only.
- heightField → const Collider3DShape
-
Terrain from Collider3DComponent.heights; static bodies only.
- matchShape → const Collider3DShape
-
The shape its entity is drawn as — a 3-D shape such as just_graphics_engine's
Cube3DComponentorStairs3DComponent(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<
Collider3DShape> - A constant List of the values in this enum, in order of their declaration.