Class SFRectangleShape
Inheritance
System.Object
SFRectangleShape
Assembly: cs.temp.dll.dll
Syntax
public class SFRectangleShape : SFShapeComponent, ITriggerShapeCallback, IContactShapeCallback, IPreSolveShapeCallback
Fields
CornerRadius
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
PolygonGeometry
Declaration
public PolygonGeometry PolygonGeometry
Field Value
| Type |
Description |
| PolygonGeometry |
|
Size
Declaration
Field Value
Methods
CreateBodyShapeGeometry()
Declaration
protected override void CreateBodyShapeGeometry()
Overrides
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