SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Class PhysicsBodyExtensions

    Inheritance
    System.Object
    PhysicsBodyExtensions
    Namespace: SF.PhysicsLowLevel
    Assembly: cs.temp.dll.dll
    Syntax
    public static class PhysicsBodyExtensions

    Methods

    TryGetCallbackComponent<T>(PhysicsBody, out T, Boolean)

    Declaration
    public static bool TryGetCallbackComponent<T>(this PhysicsBody body, out T component, bool checkShapeValidation = false)
        where T : Component
    Parameters
    Type Name Description
    PhysicsBody body
    T component
    System.Boolean checkShapeValidation
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T

    TryGetCallbackShapeComponent<T>(PhysicsBody, out T, Boolean)

    Declaration
    public static bool TryGetCallbackShapeComponent<T>(this PhysicsBody body, out T component, bool checkShapeValidation = false)
        where T : SFShapeComponent
    Parameters
    Type Name Description
    PhysicsBody body
    T component
    System.Boolean checkShapeValidation
    Returns
    Type Description
    System.Boolean
    Type Parameters
    Name Description
    T
    In This Article
    Back to top Generated by DocFX