INNER CODE UNIT · TypeScript

e_unknown

GameFrameX/GameFrameX · LayaBox/engine/types/box2d.d.ts:532

    e_unknown = -1,
    e_circleShape = 0,
    e_edgeShape = 1,
    e_polygonShape = 2,
    e_chainShape = 3,
    e_shapeTypeCount = 4
}
declare abstract class b2Shape {
    readonly m_type: b2ShapeType;
    m_radius: number;
    constructor(type: b2ShapeType, radius: number);
    abstract Clone(): b2Shape;
    Copy(other: b2Shape): b2Shape;
    GetType(): b2ShapeType;
    abstract GetChildCount(): number;
    abstract TestPoint(xf: b2Transform, p: XY): boolean;
    abstract RayCast(output: b2RayCastOutput, input: b2RayCastInput, transform: b2Transform, childIndex: number): boolean;
    abstract ComputeAABB(aabb: b2AABB, xf: b2Transform, childIndex: number): void;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…