C# Класс VSViewer.FileFormats.Sections.Animation

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
baseAnimation Animation
jointKeys List>
keyframes List[]
name string
poses System.Vector3[]

Открытые методы

Метод Описание
Animation ( ) : System
Animation ( Animation Anim ) : System

Creates a non-destrctive copy of the original animation

MergeAnimations ( Animation beginning, Animation end ) : Animation

Returns a single animation comprised of the beginning and end

QueryAnimationTime ( float queryTime, int jointIndex ) : Transform

Query the animation at the queryTime in seconds. Returns a local spaced Transform for jointIndex.

SetLengthInSeconds ( ) : void

Приватные методы

Метод Описание
Initialize ( ) : void
RestartAniamtion ( ) : void

Resets the keyframes to their initial states. Causes a pop in the loop, but allows animations to restart.

Описание методов

Animation() публичный Метод

public Animation ( ) : System
Результат System

Animation() публичный Метод

Creates a non-destrctive copy of the original animation
public Animation ( Animation Anim ) : System
Anim Animation
Результат System

MergeAnimations() публичный статический Метод

Returns a single animation comprised of the beginning and end
public static MergeAnimations ( Animation beginning, Animation end ) : Animation
beginning Animation
end Animation
Результат Animation

QueryAnimationTime() публичный Метод

Query the animation at the queryTime in seconds. Returns a local spaced Transform for jointIndex.
public QueryAnimationTime ( float queryTime, int jointIndex ) : Transform
queryTime float
jointIndex int
Результат VSViewer.Common.Transform

SetLengthInSeconds() публичный Метод

public SetLengthInSeconds ( ) : void
Результат void

Описание свойств

baseAnimation публичное свойство

public Animation,VSViewer.FileFormats.Sections baseAnimation
Результат Animation

jointKeys публичное свойство

public List> jointKeys
Результат List>

keyframes публичное свойство

public List[] keyframes
Результат List[]

name публичное свойство

public string name
Результат string

poses публичное свойство

public Vector3[],System poses
Результат System.Vector3[]