Search Results for

    Show / Hide Table of Contents

    Class SphereCollider3D

    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<ISphereColliderShape3D>
    SphereCollider3D
    Implements
    IDependencyObject
    Inherited Members
    Collider3D<ISphereColliderShape3D>.physicColliderShape
    Collider3D<ISphereColliderShape3D>.InternalColliderShape
    Collider3D<ISphereColliderShape3D>.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.RefreshHierarchyTransform()
    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 SphereCollider3D : Collider3D<ISphereColliderShape3D>, IDependencyObject

    Constructors

    SphereCollider3D()

    Initializes a new instance of the SphereCollider3D class.

    Declaration
    public SphereCollider3D()

    Properties

    EffectiveRadius

    Gets the effective radius. This includes the model bounding box offset if it is available.

    Declaration
    public float EffectiveRadius { get; }
    Property Value
    Type Description
    float

    Radius

    Gets or sets the radius.

    Declaration
    public float Radius { get; set; }
    Property Value
    Type Description
    float

    Methods

    CreateColliderShape3D_T()

    Creates the physics object.

    Declaration
    protected override ISphereColliderShape3D CreateColliderShape3D_T()
    Returns
    Type Description
    ISphereColliderShape3D

    A new physics object.

    Overrides
    Collider3D<ISphereColliderShape3D>.CreateColliderShape3D_T()

    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