Search Results for

    Show / Hide Table of Contents

    Class BoxCollider3D

    RigidBody3D enables your entities to act under the control of physics. The Rigidbody can receive forces and torque to make your objects move in a realistic way. Any entity must contain a Rigidbody to be influenced by gravity, act under added forces, or interact with other objects through the physics engine.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Collider3D
    Collider3D<IBoxColliderShape3D>
    BoxCollider3D
    Implements
    IDependencyObject
    Inherited Members
    Collider3D<IBoxColliderShape3D>.physicColliderShape
    Collider3D<IBoxColliderShape3D>.InternalColliderShape
    Collider3D<IBoxColliderShape3D>.CreateColliderShape3D()
    Collider3D.OnShapeChanged
    Collider3D.MinSize
    Collider3D.physicBody
    Collider3D.offset
    Collider3D.Transform3D
    Collider3D.usedTransform
    Collider3D.model
    Collider3D.margin
    Collider3D.PhysicBody
    Collider3D.Margin
    Collider3D.Offset
    Collider3D.EffectiveOffset
    Collider3D.OffsetTransform
    Collider3D.PointTest(Vector3)
    Collider3D.OnAttached()
    Collider3D.Start()
    Collider3D.OnDetach()
    Collider3D.SweepTest(Vector3, float, CollisionCategory3D)
    Collider3D.SweepTestAll(Vector3, float, ICollection<HitResult3D>, CollisionCategory3D)
    Collider3D.BaseCreateColliderShape()
    Collider3D.AddShapeToRigidBody()
    Collider3D.RemoveCollider()
    Collider3D.OnScaleChanged(object, EventArgs)
    Collider3D.RaiseShapeChanged()
    Collider3D.RefreshOffsetTransform(Vector3)
    Collider3D.RefreshOffsetTransform(Vector3, Quaternion, bool)
    Collider3D.OnModelRefreshed()
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.OnActivated()
    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 BoxCollider3D : Collider3D<IBoxColliderShape3D>, IDependencyObject

    Constructors

    BoxCollider3D()

    Initializes a new instance of the BoxCollider3D class.

    Declaration
    public BoxCollider3D()

    Properties

    OrientationOffset

    Gets or sets the orientation.

    Declaration
    public Quaternion OrientationOffset { get; set; }
    Property Value
    Type Description
    Quaternion

    RotationOffset

    Gets or sets the orientation.

    Declaration
    [RenderProperty(typeof(Vector3RadianToDegreeConverter))]
    public Vector3 RotationOffset { get; set; }
    Property Value
    Type Description
    Vector3

    Size

    Gets or sets the size of the box collider.

    Declaration
    public Vector3 Size { get; set; }
    Property Value
    Type Description
    Vector3

    Methods

    CreateColliderShape3D_T()

    Creates the physics object.

    Declaration
    protected override IBoxColliderShape3D CreateColliderShape3D_T()
    Returns
    Type Description
    IBoxColliderShape3D

    A new physics object.

    Overrides
    Collider3D<IBoxColliderShape3D>.CreateColliderShape3D_T()

    RefreshHierarchyTransform()

    Refreshes the hierarchy transform.

    Declaration
    protected override void RefreshHierarchyTransform()
    Overrides
    Collider3D.RefreshHierarchyTransform()

    RefreshShapeDimensions()

    Refreshes the shape dimensions.

    Declaration
    protected override void RefreshShapeDimensions()
    Overrides
    Collider3D.RefreshShapeDimensions()

    Implements

    IDependencyObject

    Extension Methods

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