PhysicsTriggerComponentBase Class
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
System.Object → EntityComponent → ActivableEntityComponent → PhysicsComponent →
PhysicsTriggerComponentBase
Derived from PhysicsTriggerComponentBase: PhysicsSkinnedComponentBase StaticColliderComponent
[DataContract("PhysicsTriggerComponentBase")]
[Display("PhysicsTriggerComponentBase", null)]
public abstract class PhysicsTriggerComponentBase : PhysicsComponent, IIdentifiable
| Name | Description | |
|---|---|---|
| Properties | ||
| Enabled | Gets or sets if this element is enabled in the physics engine |
|
| IsTrigger | ||
| Methods | ||
| OnAttach() | ||
Properties
Enabled
Gets or sets if this element is enabled in the physics engine
[DataMember(-10)]
public override bool Enabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean | true, false |
Overrides
IsTrigger
[DataMember(71)]
public bool IsTrigger { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Methods
OnAttach()
protected override void OnAttach()