Urho.Urho2D.CollisionCircle2D Class
2D circle collision component.
See Also: CollisionCircle2D
Syntax
public class CollisionCircle2D : CollisionShape2D
Remarks
Circle shapes have an optional position offset (CollisionCircle2D.Center) and a radius (CollisionCircle2D.Radius).
Circles are solid, you cannot make a hollow circle using the circle shape.
Requirements
Namespace: Urho.Urho2D
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0
Assembly: Urho (in Urho.dll)
Assembly Versions: 1.0.0.0
The members of Urho.Urho2D.CollisionCircle2D are listed below.
See Also: CollisionShape2D
Public Constructors
Constructs a new instance of Urho.Urho2D.CollisionCircle2D which is tied to the Application.CurrentContext. | ||
Constructs a new instance of Urho.Urho2D.CollisionCircle2D, given a raw pointer to an unmanaged object | ||
Constructs a new instance of Urho.Urho2D.CollisionCircle2D linked to a specific Context. |
Protected Constructors
Empty constructor, chain to this constructor when you provide your own constructor that sets the handle field. |
Public Properties
Center | Vector2. Return center. Or Set center. | |
Radius | Single. Return radius. Or Set radius. | |
[read-only] override | Type | StringHash. Urho's type system type. |
[read-only] override | TypeName | String. Urho's low-level type name. |
[read-only] static | TypeNameStatic | String. Urho's low-level type name, accessible as a static method. |
[read-only] static | TypeStatic | StringHash. Urho's low-level type, accessible as a static method. |
Public Methods
static | RegisterObject(Context)Register object factory. | |
SetCenter(Single, Single)Set center. |