Class ContactTestBehavior
Sets the collision events.
Inheritance
ContactTestBehavior
Inherited Members
Namespace: Evergine.Framework.Physics3D
Assembly: Evergine.Framework.dll
Syntax
public class ContactTestBehavior : Behavior, IDependencyObject, IDisposable
Fields
PhysicBody
The transform 3D.
Declaration
[BindComponent(false, true, BindComponentSource.Owner, null, true)]
public PhysicBody3D PhysicBody
Field Value
Type | Description |
---|---|
PhysicBody3D |
collider
The collider.
Declaration
[BindComponent(false, true, BindComponentSource.Owner, null, true)]
public Collider3D collider
Field Value
Type | Description |
---|---|
Collider3D |
Properties
Clear
Gets or sets a value indicating whether clear contacts.
Declaration
public bool Clear { get; set; }
Property Value
Type | Description |
---|---|
bool |
PairEntity
Gets or sets the pair entity.
Declaration
public Entity PairEntity { get; set; }
Property Value
Type | Description |
---|---|
Entity |
Methods
Dispose()
Dispose elements.
Declaration
public void Dispose()
OnAttached()
Invoked when the object is attached to the system.
Declaration
protected override bool OnAttached()
Returns
Type | Description |
---|---|
bool | True if all is OK. |
Overrides
OnLoaded()
Invoked when the object is loaded.
Declaration
protected override void OnLoaded()
Overrides
Update(TimeSpan)
The Update.
Declaration
protected override void Update(TimeSpan gameTime)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | gameTime | The gametime. |