This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine.AnimationModifier Class

Warning
The functionality described here is EXPERIMENTAL and is not recommended for production use. Future releases may bring significant changes to API and features. Backward compatibility of the final production-ready version is not guaranteed.

Animation modifiers store the description of the parameter to be animated and a set of curves to change the values.

AnimationModifier Class

Enums

TYPE#

NameDescription
ANIMATION_MODIFIER = 0The animation modifier.
ANIMATION_MODIFIER_INT = 1The animation modifier using integer values.
ANIMATION_MODIFIER_BOOL = 2The animation modifier using boolean values.
ANIMATION_MODIFIER_QUAT = 3The animation modifier using quaternions.
ANIMATION_MODIFIER_SCALAR = 4The animation modifier using scalar values.
ANIMATION_MODIFIER_FLOAT = 5The animation modifier using floating point values.
ANIMATION_MODIFIER_DOUBLE = 6The animation modifier using double precision values.
ANIMATION_MODIFIER_STRING = 7The animation modifier using strings.
ANIMATION_MODIFIER_UGUID = 8The animation modifier using UGUIDs.
ANIMATION_MODIFIER_IVEC2 = 9The animation modifier using 2-component vectors of integer values.
ANIMATION_MODIFIER_IVEC3 = 10The animation modifier using 3-component vectors of integer values.
ANIMATION_MODIFIER_IVEC4 = 11The animation modifier using 4-component vectors of integer values.
ANIMATION_MODIFIER_VEC2 = 12The animation modifier using 2-component vectors.
ANIMATION_MODIFIER_FVEC2 = 13The animation modifier using 2-component vectors of floating point values.
ANIMATION_MODIFIER_DVEC2 = 14The animation modifier using 2-component vectors of double precision values.
ANIMATION_MODIFIER_VEC3 = 15The animation modifier using 3-component vectors.
ANIMATION_MODIFIER_FVEC3 = 16The animation modifier using 3-component vectors of floating point values.
ANIMATION_MODIFIER_DVEC3 = 17The animation modifier using 3-component vectors of double precision values.
ANIMATION_MODIFIER_VEC4 = 18The animation modifier using 4-component vectors.
ANIMATION_MODIFIER_FVEC4 = 19The animation modifier using 4-component vectors of floating point values.
ANIMATION_MODIFIER_DVEC4 = 20The animation modifier using 4-component vectors of double precision values.
ANIMATION_MODIFIER_MAT4 = 21The animation modifier using 4x4 matrices.
ANIMATION_MODIFIER_NODE = 22The animation modifier animating nodes.
ANIMATION_MODIFIER_BONES = 23The animation modifier animating bones.
ANIMATION_MODIFIER_TRACK = 24The animation modifier using tracks.

Properties

AnimationModifierInfo Info#

The information on the animation modifier.

AnimationModifier.TYPE Type#

The type of the animation modifier.

string TypeName#

The name of the animation modifier type.

AnimParams.PARAM Param#

The parameter animated by the modifier.

int ParamIndex#

The index of the parameter animated by the modifier.

string ParamName#

The name of the parameter animated by the modifier.

int ObjID#

The ID of the animation object to which the modifier is applied.

float MinTime#

The point of the whole animation timeline where this modifier starts being applied, in units.

float MaxTime#

The point of the whole animation timeline up to which this modifier is applied, in units.

float Duration#

The duration of the period when the modifier affects the animation, in units.

Members


void Save ( Blob blob ) #

Saves the animation modifier data to a blob.

Arguments

  • Blob blob - Blob to which the animation modifier data will be saved.

void Load ( Blob blob ) #

Loads the animation modifier data from the blob.

Arguments

  • Blob blob - Blob storing the animation modifier data.
Last update: 2023-11-16
Build: ()