Search Results for

    Show / Hide Table of Contents

    Class BulletCollider3D

    The BulletCollider3D is a base class for all 3D colliders implemented by Bullet.

    Inheritance
    object
    BulletCollider3D
    BulletCollider3D<T>
    Implements
    IColliderShape3D
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Bullet
    Assembly: Evergine.Bullet.dll
    Syntax
    public abstract class BulletCollider3D : IColliderShape3D, IDisposable

    Fields

    offset

    The position offset.

    Declaration
    protected Vector3 offset
    Field Value
    Type Description
    Vector3

    Properties

    ColliderComponent

    Gets or sets collider component. This is usually the component that has created this collider shape.

    Declaration
    public Collider3D ColliderComponent { get; set; }
    Property Value
    Type Description
    Collider3D

    InternalCollider

    Gets the internal collider.

    Declaration
    public abstract object InternalCollider { get; }
    Property Value
    Type Description
    object

    LocalScaling

    Gets or sets the local scaling.

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

    Margin

    Gets or sets the collision margin of this shape.

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

    OffsetTransform

    Gets or sets the center of the collider.

    Declaration
    public Matrix4x4 OffsetTransform { get; set; }
    Property Value
    Type Description
    Matrix4x4

    Methods

    ColliderOffsetTransformChanged(object, EventArgs)

    Refresh the offset transform of the collider.

    Declaration
    protected virtual void ColliderOffsetTransformChanged(object sender, EventArgs e)
    Parameters
    Type Name Description
    object sender

    The collider.

    EventArgs e

    The arguments.

    Dispose()

    Dispose this collider 3D instance.

    Declaration
    public virtual void Dispose()

    FireOnShapeInstanceChanged()

    Fire OnShapeInstanceChanged event.

    Declaration
    protected void FireOnShapeInstanceChanged()

    InternalRefreshShapeDimension()

    Refresh the shape dimensions.

    Declaration
    protected abstract void InternalRefreshShapeDimension()

    RefreshMargin()

    Refresh margin.

    Declaration
    protected virtual void RefreshMargin()

    Implements

    IColliderShape3D
    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX