Class PhysicsMaterialTemplate | Unity Physics | 0.3.2-preview
docs.unity.cn
    Show / Hide Table of Contents

    Class PhysicsMaterialTemplate

    Inheritance
    Object
    PhysicsMaterialTemplate
    Namespace: Unity.Physics.Authoring
    Syntax
    public sealed class PhysicsMaterialTemplate : ScriptableObject, IPhysicsMaterialProperties

    Properties

    BelongsTo

    Declaration
    public PhysicsCategoryTags BelongsTo { get; set; }
    Property Value
    Type Description
    PhysicsCategoryTags

    CollidesWith

    Declaration
    public PhysicsCategoryTags CollidesWith { get; set; }
    Property Value
    Type Description
    PhysicsCategoryTags

    CustomTags

    Declaration
    public CustomPhysicsMaterialTags CustomTags { get; set; }
    Property Value
    Type Description
    CustomPhysicsMaterialTags

    Friction

    Declaration
    public PhysicsMaterialCoefficient Friction { get; set; }
    Property Value
    Type Description
    PhysicsMaterialCoefficient

    IsTrigger

    Declaration
    public bool IsTrigger { get; set; }
    Property Value
    Type Description
    Boolean

    RaisesCollisionEvents

    Declaration
    public bool RaisesCollisionEvents { get; set; }
    Property Value
    Type Description
    Boolean

    Restitution

    Declaration
    public PhysicsMaterialCoefficient Restitution { get; set; }
    Property Value
    Type Description
    PhysicsMaterialCoefficient
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX