Interface IPhysicsShapeContained
Used to tell how custom shapes should be contained inside a
Namespace: SF.PhysicsLowLevel
Assembly: cs.temp.dll.dll
Syntax
public interface IPhysicsShapeContained
Remarks
Example usage:
Properties
ContainerShape2D
The
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 |