SkeletonBounds class

Constructors

SkeletonBounds()

Properties

boundingBoxes → List<BoundingBoxAttachment>
final
maxX ↔ double
read / write
maxY ↔ double
read / write
minX ↔ double
read / write
minY ↔ double
read / write
polygonPool Pool<Float32List>
final
polygons → List<Float32List>
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

aabbCompute() → void
aabbContainsPoint(double x, double y) → bool
aabbIntersectsSegment(double x1, double y1, double x2, double y2) → bool
aabbIntersectsSkeleton(SkeletonBounds bounds) → bool
AnimationStateData(BoundingBoxAttachment boundingBox) → Float32List
containsPoint(double x, double y) BoundingBoxAttachment
containsPointPolygon(Float32List polygon, double x, double y) → bool
getHeight() → double
getWidth() → double
intersectsSegment(double x1, double y1, double x2, double y2) BoundingBoxAttachment
intersectsSegmentPolygon(Float32List polygon, double x1, double y1, double x2, double y2) → bool
update(Skeleton skeleton, bool updateAabb) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

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