Search Results for

    Show / Hide Table of Contents

    Class ContactTestBehavior

    Sets the collision events.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Behavior
    ContactTestBehavior
    Implements
    IDependencyObject
    Inherited Members
    Behavior.Family
    Behavior.UpdateOrder
    Behavior.OnDetach()
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnActivated()
    Component.Start()
    Component.OnDeactivated()
    Component.OnDestroy()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.RefreshPrefab(Prefab)
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    Namespace: Evergine.Framework.Physics3D
    Assembly: Evergine.Framework.dll
    Syntax
    public class ContactTestBehavior : Behavior, IDependencyObject

    Fields

    PhysicBody

    The 3D transform.

    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 to 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()

    Disposes 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 everything is OK.

    Overrides
    Behavior.OnAttached()

    OnLoaded()

    Invoked when the object is loaded.

    Declaration
    protected override void OnLoaded()
    Overrides
    Component.OnLoaded()

    Update(TimeSpan)

    Update method.

    Declaration
    protected override void Update(TimeSpan gameTime)
    Parameters
    Type Name Description
    TimeSpan gameTime

    The game time.

    Overrides
    Behavior.Update(TimeSpan)

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In this article
    Back to top
    Generated by DocFX