INNER CODE UNIT · TypeScript

Material

GameFrameX/GameFrameX · LayaBox/engine/types/cannon.d.ts:383

    export class Material {

        name: string;
        id: number;
        friction:number;
        restitution:number;

        constructor(options?: string|IMaterialOptions);

    }

    export class JacobianElement {

        spatial: Vec3;
        rotational: Vec3;

        multiplyElement(element: JacobianElement): number;
        multiplyVectors(spacial: Vec3, rotational: Vec3): number;

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…