C# Class RedBlueGames.Tools.AnimBuilder.SpriteAnimClip

Afficher le fichier Open project: redbluegames/rb-unity-tools

Méthodes publiques

Méthode Description
GenerateClip ( string savePath, string filenamePrefix ) : void

Generates a clip from this SpriteAnim

SpriteAnimClip ( string clipName, string pathToRenderer = default(string) ) : System.Collections

Initializes a new instance of the SpriteAnimClip class.

Private Methods

Méthode Description
CreateKeysForKeyframeRanges ( Sprite sprites, KeyframeRange keyframeRanges, int samplesPerSecond ) : UnityEditor.ObjectReferenceKeyframe[]

Method Details

GenerateClip() public méthode

Generates a clip from this SpriteAnim
public GenerateClip ( string savePath, string filenamePrefix ) : void
savePath string Save path.
filenamePrefix string Filename prefix.
Résultat void

SpriteAnimClip() public méthode

Initializes a new instance of the SpriteAnimClip class.
public SpriteAnimClip ( string clipName, string pathToRenderer = default(string) ) : System.Collections
clipName string Clip name.
pathToRenderer string Path to the Sprite renderer, used in the AnimClip's Property.
Résultat System.Collections