GFX
  • Docs
  • API
Search Results for

    Show / Hide Table of Contents
    • Genesis.Core
      • AssetManager
      • Game
      • GameElement
      • GameEventHandler
      • GenesisWindow
      • IGameBehavior
      • Input
      • Layer
      • Light
      • Scene
      • Scene3D
      • SceneEventHandler
      • SceneSizeEvenHandler
      • Storage
      • Utils
    • Genesis.Core.Behaviors
      • AnimationBehavior
      • CameraFlags
      • CharacterController2D
      • ControllerPreset
      • MoveDirection
      • MovementFlags
      • SpriteMovementController
    • Genesis.Core.Behaviors.Physics2D
      • BufferedSpriteCollider
      • PhysicsBox2D
      • PhysicsPolygon2D
      • Rigidbody2D
    • Genesis.Core.Behaviors.Physics3D
      • BoxCollider
      • CapsuleCollider
      • ConvexHullBehavior
      • QubeConvexHull
      • SphereCollider
      • StaticMeshBehavior
    • Genesis.Core.Behaviors._3D
      • Stance
      • ThirdpersonCharacterController
    • Genesis.Core.GameElements
      • BufferedSprite
      • CameraElement
      • Element3D
      • Empty
      • Model
      • ParticleBuffers
      • ParticleDeffinition
      • ParticleEmitter
      • Qube
      • RectElement
      • Skybox
      • Sprite
      • SpriteShapeDeffinition
      • Terrain2D
      • Terrain3D
      • TerrainData
    • Genesis.Graphics
      • Animation
      • Camera
      • CameraType
      • Face
      • Font
      • Framebuffer
      • Glyphe
      • IRenderDevice
      • Material
      • MaterialBuffer
      • Mesh
      • PerspectiveCamera
      • Shader
      • ShaderProgram
      • TexCoords
      • Texture
      • Viewport
    • Genesis.Graphics.Animation3D
      • Animation
      • Animator
      • AssimpNodeData
      • Bone
      • KeyPosition
      • KeyRotation
      • KeyScale
      • ModelMesh
      • boneinfo
      • vertex
    • Genesis.Graphics.Physics
      • BulletDebugRenderer
    • Genesis.Graphics.RenderDevice
      • ClassicGL
      • GLRenderer
    • Genesis.Graphics.Shaders.OpenGL
      • AnimatedModelShader
      • BasicShader
      • DiffuseLightning
      • DiffuseNormalLightning
      • DiffuseNormalShader
      • DiffuseShader
      • DiffuseSolidShader
      • MVPRectShader
      • MVPShader
      • MVPSolidShader
      • ParticleShader
      • ScreenShader
      • SkyboxShader
      • SpriteShader
      • TerrainShader
      • WireframeShader
    • Genesis.Graphics.Shapes
      • BufferedSpriteShape
      • FrameShape
      • GlypheShape
      • LineShape
      • PlaneShape
      • QubeShape
      • RectShape
      • Shape
      • SpriteShape
    • Genesis.Math
      • Matrix4x4
      • NoisePoint
      • PerlinNoise
      • Rect
      • Vec3
    • Genesis.Physics
      • Aabb
      • HitResult
      • MatrixSet
      • MouseRay2
      • PhysicHandler
      • PhysicHandlerEvent
      • PhysicPropeterys
      • PhysicsBehavior
      • PhysicsBehaviorEvent
      • PhysicsHandler2D
      • PhysicsHandler3D
      • Raycast
    • Genesis.UI
      • Canvas
      • ImageButton
      • Label
      • ListItem
      • ListItemBehavior
      • ListSelector
      • ListSelectorBehavior
      • Panel
      • ProgressBar
      • UIEvent
      • UIParseHandler
      • UIParser
      • Widget

    Class Bone

    Represents a bone in a skeletal animation system.

    Inheritance
    object
    Bone
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Genesis.Graphics.Animation3D
    Assembly: Genesis.dll
    Syntax
    public class Bone

    Constructors

    Bone(string, int, NodeAnimationChannel)

    Initializes a new instance of the Bone class.

    Declaration
    public Bone(string name, int id, NodeAnimationChannel channel)
    Parameters
    Type Name Description
    string name
    int id
    NodeAnimationChannel channel

    Properties

    ID

    ID of the bone.

    Declaration
    public int ID { get; set; }
    Property Value
    Type Description
    int

    LocalTransform

    Local transformation matrix of the bone.

    Declaration
    public mat4 LocalTransform { get; set; }
    Property Value
    Type Description
    mat4

    Name

    Name of the bone.

    Declaration
    public string Name { get; set; }
    Property Value
    Type Description
    string

    NumPositions

    Number of position keyframes.

    Declaration
    public int NumPositions { get; set; }
    Property Value
    Type Description
    int

    NumRotations

    Number of rotation keyframes.

    Declaration
    public int NumRotations { get; set; }
    Property Value
    Type Description
    int

    NumScalings

    Number of scale keyframes.

    Declaration
    public int NumScalings { get; set; }
    Property Value
    Type Description
    int

    Positions

    List of position keyframes for the bone.

    Declaration
    public List<KeyPosition> Positions { get; set; }
    Property Value
    Type Description
    List<KeyPosition>

    Rotations

    List of rotation keyframes for the bone.

    Declaration
    public List<KeyRotation> Rotations { get; set; }
    Property Value
    Type Description
    List<KeyRotation>

    Scales

    List of scale keyframes for the bone.

    Declaration
    public List<KeyScale> Scales { get; set; }
    Property Value
    Type Description
    List<KeyScale>

    Methods

    Update(float, bool)

    Updates the bone transformation based on the animation time.

    Declaration
    public void Update(float animationTime, bool interpolate)
    Parameters
    Type Name Description
    float animationTime
    bool interpolate
    In this article
    Back to top Generated by DocFX