Table of Contents

Class PhysicsTriggerComponentBase

Namespace
Stride.Physics
Assembly
Stride.Physics.dll
[DataContract("PhysicsTriggerComponentBase")]
[Display("PhysicsTriggerComponentBase", null)]
public abstract class PhysicsTriggerComponentBase : PhysicsComponent, IIdentifiable
Inheritance
PhysicsTriggerComponentBase
Implements
Derived
Inherited Members

Properties

Enabled

Gets or sets if this element is enabled in the physics engine

[DataMember(-10)]
public override bool Enabled { get; set; }

Property Value

bool

true, false

IsTrigger

[DataMember(71)]
public bool IsTrigger { get; set; }

Property Value

bool

Methods

OnAttach()

Called whenever an entity with this component is added to scene.

protected override void OnAttach()