Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AnimationClip.frameRate

public var frameRate: float;

Description

Frame rate at which keyframes are sampled. (Read Only)

This is the frame rate that was used in the animation program you used to create the animation or model.

	// Prints the frame rate of the animation clip to the console
	print(animation["walk"].clip.frameRate);