C# Class RedBlueGames.Tools.AnimBuilder.SpriteAnimClip

ファイルを表示 Open project: redbluegames/rb-unity-tools

Public Methods

Method 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

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

Method Details

GenerateClip() public method

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

SpriteAnimClip() public method

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.
return System.Collections