Class AnimationKeyFrame
A class representing a single keyframe for a layer.
public class AnimationKeyFrame
- Inheritance
-
AnimationKeyFrame
- Inherited Members
Constructors
AnimationKeyFrame(AnimationKeyFrame)
Creates a deep copy of the AnimationKeyFrame.
public AnimationKeyFrame(AnimationKeyFrame animationKeyFrame)
Parameters
animationKeyFrame
AnimationKeyFrame
AnimationKeyFrame(int, Texture2D)
public AnimationKeyFrame(int frame, Texture2D texture)
Parameters
frame
inttexture
Texture2D
Fields
frame
The number of the frame this keyframe is on.
public int frame
Field Value
texture
The texture displayed at this keyframe.
public Texture2D texture
Field Value
- Texture2D
Methods
DeepCopy()
Creates a deep copy of the AnimationKeyFrame.
public AnimationKeyFrame DeepCopy()