frameRate
Frame rate at which keyframes are sampled. (Read Only)
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.AnimationModule
public float frameRate { get; set; }
Remarks
This is the frame rate that was used in the animation program you used to create the animation or model.
Examples
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); }}