Simple3D
Search Results for

    Show / Hide Table of Contents

    Class SkinnedMesh

    Immutable bind-pose geometry deformed by a skeleton.

    Inheritance
    object
    SkinnedMesh
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Simple3D.Core
    Assembly: Simple3D.Core.dll
    Syntax
    public sealed class SkinnedMesh

    Constructors

    | Edit this page View Source

    SkinnedMesh(Mesh, Skeleton, IEnumerable<VertexInfluence>, IEnumerable<MorphTarget>?)

    Validates one influence per vertex: joint indices inside the skeleton and a positive weight sum. Morph targets, if any, need one offset per vertex.

    Declaration
    public SkinnedMesh(Mesh mesh, Skeleton skeleton, IEnumerable<VertexInfluence> influences, IEnumerable<MorphTarget>? morphTargets = null)
    Parameters
    Type Name Description
    Mesh mesh
    Skeleton skeleton
    IEnumerable<VertexInfluence> influences
    IEnumerable<MorphTarget> morphTargets

    Fields

    | Edit this page View Source

    MaximumMorphTargets

    Maximum number of morph targets per mesh.

    Declaration
    public const int MaximumMorphTargets = 64
    Field Value
    Type Description
    int

    Properties

    | Edit this page View Source

    Influences

    One influence per mesh vertex.

    Declaration
    public IReadOnlyList<VertexInfluence> Influences { get; }
    Property Value
    Type Description
    IReadOnlyList<VertexInfluence>
    | Edit this page View Source

    Mesh

    Geometry in its bind pose.

    Declaration
    public Mesh Mesh { get; }
    Property Value
    Type Description
    Mesh
    | Edit this page View Source

    MorphTargets

    Blend shapes applied before skinning; empty when the mesh has none.

    Declaration
    public IReadOnlyList<MorphTarget> MorphTargets { get; }
    Property Value
    Type Description
    IReadOnlyList<MorphTarget>
    | Edit this page View Source

    Skeleton

    The skeleton that deforms the mesh.

    Declaration
    public Skeleton Skeleton { get; }
    Property Value
    Type Description
    Skeleton
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX