Versions with this page:
Versions without this page:
Frecuencia de frames en la que se muestrean los keyframes. (Lectura solamente).
This is the frame rate that was used in the animation program you used to create the animation or model.
using UnityEngine; using System.Collections;public class ExampleScript : MonoBehaviour { public Animation anim; void Update() { // Prints the frame rate of the animation clip to the console print(anim["walk"].clip.frameRate); } }