Class PhysicsShapeConversionSystem | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class PhysicsShapeConversionSystem

    Inheritance
    System.Object
    BaseShapeConversionSystem<PhysicsShape>
    PhysicsShapeConversionSystem
    Inherited Members
    BaseShapeConversionSystem<PhysicsShape>.OnUpdate()
    Namespace: Unity.Physics.Authoring
    Syntax
    public class PhysicsShapeConversionSystem : BaseShapeConversionSystem<PhysicsShape>

    Methods

    GetCustomFlags(PhysicsShape)

    Declaration
    protected override byte GetCustomFlags(PhysicsShape shape)
    Parameters
    Type Name Description
    PhysicsShape shape
    Returns
    Type Description
    System.Byte
    Overrides
    Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.GetCustomFlags(Unity.Physics.Authoring.PhysicsShape)

    GetPrimaryBody(PhysicsShape)

    Declaration
    protected override GameObject GetPrimaryBody(PhysicsShape shape)
    Parameters
    Type Name Description
    PhysicsShape shape
    Returns
    Type Description
    GameObject
    Overrides
    Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.GetPrimaryBody(Unity.Physics.Authoring.PhysicsShape)

    ProduceColliderBlob(PhysicsShape)

    Declaration
    protected override BlobAssetReference<Collider> ProduceColliderBlob(PhysicsShape shape)
    Parameters
    Type Name Description
    PhysicsShape shape
    Returns
    Type Description
    BlobAssetReference<Collider>
    Overrides
    Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.ProduceColliderBlob(Unity.Physics.Authoring.PhysicsShape)

    ShouldConvertShape(PhysicsShape)

    Declaration
    protected override bool ShouldConvertShape(PhysicsShape shape)
    Parameters
    Type Name Description
    PhysicsShape shape
    Returns
    Type Description
    System.Boolean
    Overrides
    Unity.Physics.Authoring.BaseShapeConversionSystem<Unity.Physics.Authoring.PhysicsShape>.ShouldConvertShape(Unity.Physics.Authoring.PhysicsShape)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023