Search Results for

    Show / Hide Table of Contents

    Class EntityMeshData

    Class that represents the mesh information of an entity.

    Inheritance
    object
    EntityMeshData
    EntityMeshComputeData
    EntityMeshCPUData
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Framework.Particles.Helpers
    Assembly: Evergine.Framework.dll
    Syntax
    public abstract class EntityMeshData

    Fields

    ShouldTraspose

    If the matrices should be trasposed.

    Declaration
    protected bool ShouldTraspose
    Field Value
    Type Description
    bool

    SizeOfEmitVertex

    The size of the emit mesh vertex data.

    Declaration
    protected static readonly int SizeOfEmitVertex
    Field Value
    Type Description
    int

    SizeOfMatrix

    The size of a matrix struct.

    Declaration
    protected static readonly int SizeOfMatrix
    Field Value
    Type Description
    int

    nTransforms

    The number of transforms.

    Declaration
    protected int nTransforms
    Field Value
    Type Description
    int

    skRenderer

    The skinned mesh renderer.

    Declaration
    protected SkinnedMeshRenderer skRenderer
    Field Value
    Type Description
    SkinnedMeshRenderer

    transformData

    The transform data as long.

    Declaration
    protected long transformData
    Field Value
    Type Description
    long

    transformDataPtr

    The transform data ptr.

    Declaration
    protected IntPtr transformDataPtr
    Field Value
    Type Description
    IntPtr

    Properties

    NumIndices

    Gets the number of indices.

    Declaration
    public uint NumIndices { get; }
    Property Value
    Type Description
    uint

    NumSkinnedTriangles

    Gets the number of skinned triangles.

    Declaration
    protected uint NumSkinnedTriangles { get; }
    Property Value
    Type Description
    uint

    NumSkinnedVertices

    Gets or sets the number of skinned vertices.

    Declaration
    public uint NumSkinnedVertices { get; protected set; }
    Property Value
    Type Description
    uint

    NumTriangles

    Gets the number of triangles.

    Declaration
    protected uint NumTriangles { get; }
    Property Value
    Type Description
    uint

    NumVertices

    Gets the number of vertices.

    Declaration
    public uint NumVertices { get; }
    Property Value
    Type Description
    uint

    RootJointTransform

    Gets the root joint.

    Declaration
    public Matrix4x4 RootJointTransform { get; }
    Property Value
    Type Description
    Matrix4x4

    Methods

    ClearEntity()

    Clears the entity information.

    Declaration
    public virtual void ClearEntity()

    RefreshEmitTransform(Transform3D, int)

    REfresh the mesh transform.

    Declaration
    protected virtual void RefreshEmitTransform(Transform3D transform, int tIndex)
    Parameters
    Type Name Description
    Transform3D transform

    The new transform.

    int tIndex

    The new index.

    RefreshEntity(Entity)

    REfreshes the entity data.

    Declaration
    public void RefreshEntity(Entity entity)
    Parameters
    Type Name Description
    Entity entity

    The target entity.

    RefreshEntityParameters(EmitMeshVertexData[], uint[])

    Refreshes the entity parameters.

    Declaration
    protected abstract void RefreshEntityParameters(EmitMeshVertexData[] emitVertices, uint[] emitIndices)
    Parameters
    Type Name Description
    EmitMeshVertexData[] emitVertices

    The emit vertices.

    uint[] emitIndices

    The emit indices.

    RefreshRootJoint()

    Refreshes the root joint transform.

    Declaration
    protected virtual void RefreshRootJoint()

    Extension Methods

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