Click or drag to resize

AnimCurve Class

Represents an animation curve used by several sections to control different parameters over time.
Inheritance Hierarchy
SystemObject
  Syroot.NintenTools.BfresAnimCurve

Namespace:  Syroot.NintenTools.Bfres
Assembly:  Syroot.NintenTools.Bfres (in Syroot.NintenTools.Bfres.dll) Version: 1.5.0
Syntax
C#
public class AnimCurve : IResData

The AnimCurve type exposes the following members.

Constructors
  NameDescription
Public methodAnimCurve
Initializes a new instance of the AnimCurve class
Top
Properties
  NameDescription
Public propertyAnimDataOffset
Gets or sets the memory offset relative to the start of the corresponding animation data structure to animate the field stored at that address. Note that enums exist in the specific animation which map offsets to names.
Public propertyCurveType
Gets or sets the curve type, determining the number of elements stored with each key.
Public propertyDelta
Gets or sets the difference between the lowest and highest key value.
Public propertyEndFrame
Gets or sets the last frame at which a key is placed.
Public propertyFrames
Gets the frame numbers at which keys of the same index in the Keys array are placed.
Public propertyFrameType
Gets or sets the data type in which Frames are loaded and saved. For simplicity, the class always stores frames as converted Single instances.
Public propertyKeys
Gets an array of elements forming the elements of keys placed at the frames of the same index in the Frames array.
Public propertyKeyType
Gets or sets the data type in which Keys are loaded and saved. For simplicity, the class always stores frames as converted Single instances.
Public propertyOffset
Gets or sets the offset to add to the values of the curve (after multiplicating them).
Public propertyScale
Gets or sets the scale to multiply values of the curve by.
Public propertyStartFrame
Gets or sets the first frame at which a key is placed.
Top
See Also