SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Interface IPhysicsShapeContained

    Used to tell how custom shapes should be contained inside a that acts like a container.

    Namespace: SF.PhysicsLowLevel
    Assembly: cs.temp.dll.dll
    Syntax
    public interface IPhysicsShapeContained
    Remarks

    Example usage: that is used to contain a cinemachine camera inside of it.

    Properties

    ContainerShape2D

    The that this IPhysicsShapeContained is being contained in.

    Declaration
    SFShapeComponent ContainerShape2D { get; set; }
    Property Value
    Type Description
    SFShapeComponent

    Methods

    ContainPosition()

    Calculates a corrected position to displace an object while keeping it inside the area of a .

    Declaration
    Vector2 ContainPosition()
    Returns
    Type Description
    Vector2
    In This Article
    Back to top Generated by DocFX