reckfellENGINE

GltfAnimation

A Reckfell C# SDK type.

On this page
class GltfAnimationReckfellSharpInherits Resource

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

GltfAnimationConstructor
# GltfAnimation
C#
public GltfAnimation();

Properties2

LoopProperty
# Loop
C#
public bool Loop { get; set; }
OriginalNameProperty
# OriginalName
C#
public string OriginalName { get; set; }

The original name of the animation.

Methods6

GetAdditionalDataVariant
# GetAdditionalData
C#
public Variant GetAdditionalData(StringName extensionName);

Gets additional arbitrary data in this GltfAnimation instance. This can be used to keep per-node state data in GltfDocumentExtension classes, which is important because they are stateless. The argument should be the GltfDocumentExtension name (does not have to match the extension name in the glTF file), and the return value can be anything you set. If nothing was set, the return value is null.

Parameters
NameTypeDefault
extensionNameStringName—
Returns Variant
GetLoopbool
# GetLoop
C#
public bool GetLoop();
Returns bool
GetOriginalNamestring
# GetOriginalName
C#
public string GetOriginalName();
Returns string
SetAdditionalDatavoid
# SetAdditionalData
C#
public void SetAdditionalData(StringName extensionName, Variant additionalData);

Sets additional arbitrary data in this GltfAnimation instance. This can be used to keep per-node state data in GltfDocumentExtension classes, which is important because they are stateless. The first argument should be the GltfDocumentExtension name (does not have to match the extension name in the glTF file), and the second argument can be anything you want.

Parameters
NameTypeDefault
extensionNameStringName—
additionalDataVariant—
SetLoopvoid
# SetLoop
C#
public void SetLoop(bool loop);
Parameters
NameTypeDefault
loopbool—
SetOriginalNamevoid
# SetOriginalName
C#
public void SetOriginalName(string originalName);
Parameters
NameTypeDefault
originalNamestring—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.