q5play
    Preparing search index...

    Interface Body

    interface Body {
        ApplyAngularImpulse(_0: number, _1: boolean): void;
        ApplyForce(_0: b2Vec2, _1: b2Vec2, _2: boolean): void;
        ApplyForceToCenter(_0: b2Vec2, _1: boolean): void;
        ApplyLinearImpulse(_0: b2Vec2, _1: b2Vec2, _2: boolean): void;
        ApplyLinearImpulseToCenter(_0: b2Vec2, _1: boolean): void;
        ApplyMassFromShapes(): void;
        ApplyTorque(_0: number, _1: boolean): void;
        clone(): this;
        ComputeAABB(): b2AABB;
        CreateCapsuleShape(_0: b2ShapeDef, _1: b2Capsule): Shape | null;
        CreateChain(_0: b2ChainDef): Chain | null;
        CreateCircleShape(_0: b2ShapeDef, _1: b2Circle): Shape | null;
        CreatePolygonShape(_0: b2ShapeDef, _1: b2Polygon): Shape | null;
        CreateSegmentShape(_0: b2ShapeDef, _1: b2Segment): Shape | null;
        delete(): void;
        deleteLater(): this;
        Destroy(): void;
        Disable(): void;
        Enable(): void;
        EnableContactEvents(_0: boolean): void;
        EnableHitEvents(_0: boolean): void;
        EnableSleep(_0: boolean): void;
        GetAngularDamping(): number;
        GetAngularVelocity(): number;
        GetContactCapacity(): number;
        GetContactData(): any;
        GetGravityScale(): number;
        GetJointCount(): number;
        GetJoints(): any;
        GetLinearDamping(): number;
        GetLinearVelocity(): b2Vec2;
        GetLocalCenterOfMass(): b2Vec2;
        GetLocalPoint(_0: b2Vec2): b2Vec2;
        GetLocalVector(_0: b2Vec2): b2Vec2;
        GetMass(): number;
        GetMassData(): b2MassData;
        GetName(): string;
        GetPointer(): any;
        GetPosition(): b2Vec2;
        GetRotation(): b2Rot;
        GetRotationalInertia(): number;
        GetShapeCount(): number;
        GetShapes(): any;
        GetSleepThreshold(): number;
        GetTransform(): b2Transform;
        GetType(): b2BodyType;
        GetWorld(): WorldRef;
        GetWorldCenterOfMass(): b2Vec2;
        GetWorldPoint(_0: b2Vec2): b2Vec2;
        GetWorldVector(_0: b2Vec2): b2Vec2;
        isAliasOf(other: ClassHandle): boolean;
        IsAwake(): boolean;
        IsBullet(): boolean;
        isDeleted(): boolean;
        IsEnabled(): boolean;
        IsSleepEnabled(): boolean;
        IsValid(): boolean;
        SetAngularDamping(_0: number): void;
        SetAngularVelocity(_0: number): void;
        SetAwake(_0: boolean): void;
        SetBullet(_0: boolean): void;
        SetGravityScale(_0: number): void;
        SetLinearDamping(_0: number): void;
        SetLinearVelocity(_0: b2Vec2): void;
        SetMassData(_0: b2MassData): void;
        SetName(_0: EmbindString): void;
        SetSleepThreshold(_0: number): void;
        SetTransform(_0: b2Vec2, _1: b2Rot): void;
        SetType(_0: b2BodyType): void;
        [key: number]: () => void;
    }

    Hierarchy (View Summary)

    Indexable

    • [key: number]: () => void
    Index

    Methods