SF Tool Documentation
Search Results for

    Show / Hide Table of Contents

    Class SFRectangleShape

    Inheritance
    System.Object
    SFShapeComponent
    SFRectangleShape
    Implements
    ITriggerShapeCallback
    IContactShapeCallback
    IPreSolveShapeCallback
    Inherited Members
    SFShapeComponent.UpdateTransform
    SFShapeComponent._lastPhysicsPosition
    SFShapeComponent.IsPositionChanged
    SFShapeComponent.CacheTransform()
    SFShapeComponent.ApplyTransform()
    SFShapeComponent._shape
    SFShapeComponent.Shape
    SFShapeComponent.World
    SFShapeComponent.ShapesInComposite
    SFShapeComponent.ShapeDefinition
    SFShapeComponent.ShapeProxy
    SFShapeComponent.ContainedPhysicsShapes
    SFShapeComponent.Body
    SFShapeComponent.BodyDefinition
    SFShapeComponent.PhysicsWorld
    SFShapeComponent.IsCompositeShape
    SFShapeComponent.ScaleSize
    SFShapeComponent.Offset
    SFShapeComponent._useDelaunay
    SFShapeComponent.ShapeCreatedHandler
    SFShapeComponent.ShapeDestroyedHandler
    SFShapeComponent.OnEnable()
    SFShapeComponent.PreEnabled()
    SFShapeComponent.PreDisable()
    SFShapeComponent.OnDisable()
    SFShapeComponent.OnValidate()
    SFShapeComponent.FixedUpdate()
    SFShapeComponent.UpdateShape()
    SFShapeComponent.CreateShape()
    SFShapeComponent.CreateBody()
    SFShapeComponent.DestroyShape()
    SFShapeComponent.DestroyBody()
    SFShapeComponent.AddTriggerCallbackTarget(ITriggerShapeCallback)
    SFShapeComponent.RemoveTriggerCallbackTarget(ITriggerShapeCallback)
    SFShapeComponent.AddContactCallbackTarget(IContactShapeCallback)
    SFShapeComponent.AddPreSolveCallbackTarget(IPreSolveShapeCallback)
    SFShapeComponent.RemoveContactCallbackTarget(IContactShapeCallback)
    SFShapeComponent.OnTriggerBegin2D(PhysicsEvents.TriggerBeginEvent)
    SFShapeComponent.OnTriggerEnd2D(PhysicsEvents.TriggerEndEvent)
    SFShapeComponent.OnContactBegin2D(PhysicsEvents.ContactBeginEvent)
    SFShapeComponent.OnContactEnd2D(PhysicsEvents.ContactEndEvent)
    SFShapeComponent.OnTriggerBegin2D(PhysicsEvents.TriggerBeginEvent, SFShapeComponent)
    SFShapeComponent.OnTriggerEnd2D(PhysicsEvents.TriggerEndEvent, SFShapeComponent)
    SFShapeComponent.OnContactBegin2D(PhysicsEvents.ContactBeginEvent, SFShapeComponent)
    SFShapeComponent.OnContactEnd2D(PhysicsEvents.ContactEndEvent, SFShapeComponent)
    SFShapeComponent.OnPreSolve2D(PhysicsEvents.PreSolveEvent)
    SFShapeComponent.OnPreSolve2D(PhysicsEvents.PreSolveEvent, SFShapeComponent)
    SFShapeComponent.DebugPhysics()
    SFShapeComponent.DebugPhysicsExtra()
    SFShapeComponent.CalculateAABB()
    SFShapeComponent.GetAABB(PhysicsShape)
    Namespace: SF.PhysicsLowLevel
    Assembly: cs.temp.dll.dll
    Syntax
    public class SFRectangleShape : SFShapeComponent, ITriggerShapeCallback, IContactShapeCallback, IPreSolveShapeCallback

    Fields

    CornerRadius

    The radius of the SFRectangleShape box corner radius.

    Declaration
    public float CornerRadius
    Field Value
    Type Description
    System.Single

    InscribeRadius

    When creating the physics shape should the corner radius be inscribed during the method call.

    Declaration
    public bool InscribeRadius
    Field Value
    Type Description
    System.Boolean

    MinAllowedSize

    Declaration
    public static readonly Vector2 MinAllowedSize
    Field Value
    Type Description
    Vector2

    PolygonGeometry

    Declaration
    public PolygonGeometry PolygonGeometry
    Field Value
    Type Description
    PolygonGeometry

    Size

    Declaration
    public Vector2 Size
    Field Value
    Type Description
    Vector2

    Methods

    CreateBodyShapeGeometry()

    Declaration
    protected override void CreateBodyShapeGeometry()
    Overrides
    SFShapeComponent.CreateBodyShapeGeometry()

    SetShape<TGeometryType>(TGeometryType)

    Declaration
    public override void SetShape<TGeometryType>(TGeometryType geometryType)
        where TGeometryType : struct
    Parameters
    Type Name Description
    TGeometryType geometryType
    Type Parameters
    Name Description
    TGeometryType
    Overrides
    SF.PhysicsLowLevel.SFShapeComponent.SetShape<TGeometryType>(TGeometryType)

    Implements

    ITriggerShapeCallback
    IContactShapeCallback
    IPreSolveShapeCallback
    In This Article
    Back to top Generated by DocFX