Class ClipEntry
One clip discovered for the model, with the metadata a validator or authoring tool needs without loading it again.
Assembly: Serenity.AnimationHub.Editor.dll
Syntax
public sealed class ClipEntry
Constructors
ClipEntry(string, string, ClipOrigin, float, bool, bool, bool, int, bool)
Declaration
public ClipEntry(string assetPath, string clipName, ClipOrigin origin, float length, bool loop, bool isLegacy, bool isHumanMotion, int curveCount, bool isEmbedded)
Parameters
Properties
AssetPath
Declaration
public string AssetPath { get; }
Property Value
| Type |
Description |
| string |
Project-relative path of the asset the clip lives in (a standalone .anim, or the source model for an embedded clip).
|
ClipName
Declaration
public string ClipName { get; }
Property Value
| Type |
Description |
| string |
The clip's own name — for an embedded clip, its sub-asset name inside the source model.
|
CurveCount
Declaration
public int CurveCount { get; }
Property Value
IsEmbedded
Declaration
public bool IsEmbedded { get; }
Property Value
| Type |
Description |
| bool |
Whether the clip is a sub-asset embedded in another asset (e.g. an imported .fbx) rather than a standalone .anim file.
|
IsHumanMotion
Declaration
public bool IsHumanMotion { get; }
Property Value
IsLegacy
Declaration
public bool IsLegacy { get; }
Property Value
Length
Declaration
public float Length { get; }
Property Value
Loop
Declaration
public bool Loop { get; }
Property Value
Origin
Declaration
public ClipOrigin Origin { get; }
Property Value