ProtoTwin API
    Preparing search index...

    Class PhysicsMaterial

    Physics material.

    Hierarchy (View Summary)

    Index

    Accessors

    • get damping(): number

      The damping coefficient for the physics material.

      Returns number

    • set damping(coefficient: number): void

      Parameters

      • coefficient: number

      Returns void

    • get dynamicFriction(): number

      The dynamic friction coefficient for the physics material.

      Returns number

    • set dynamicFriction(coefficient: number): void

      Parameters

      • coefficient: number

      Returns void

    • get name(): string

      The name that uniquely identifies the physics material.

      Returns string

    • set name(value: string): void

      Parameters

      • value: string

      Returns void

    • get restitution(): number

      The restitution coefficient for the physics material.

      Returns number

    • set restitution(coefficient: number): void

      Parameters

      • coefficient: number

      Returns void

    • get staticFriction(): number

      The static friction coefficient for the physics material.

      Returns number

    • set staticFriction(coefficient: number): void

      Parameters

      • coefficient: number

      Returns void