Class SetCollisionEvents
Sets the collision events.
Inheritance
SetCollisionEvents
Implements
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public class SetCollisionEvents : Behavior, IDependencyObject
Constructors
SetCollisionEvents()
Initializes a new instance of the SetCollisionEvents class.
Declaration
public SetCollisionEvents()
Fields
PhysicBody
The 3D transform.
Declaration
[BindComponent(false, true, BindComponentSource.Owner, null, true)]
public PhysicBody3D PhysicBody
Field Value
| Type | Description |
|---|---|
| PhysicBody3D |
Properties
Clear
Gets or sets a value indicating whether to clear contacts.
Declaration
public bool Clear { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Methods
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
| Type | Description |
|---|---|
| bool | True if everything is OK. |
Overrides
OnDetached()
Invoked when the object is detached.
Declaration
protected override void OnDetached()
Overrides
Update(TimeSpan)
The update.
Declaration
protected override void Update(TimeSpan gameTime)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | gameTime | The game time. |