Skip to main content
edited tags
Link
DMGregory
  • 136.3k
  • 22
  • 247
  • 373
Clarifying
Source Link
DMGregory
  • 136.3k
  • 22
  • 247
  • 373

What is a Frame and Frame Per Second?

I'm a Newnew to the unity Editor, trying to understand unityUnity scripting.

What is frame?? I don't know framecan't tell from how it's used whether "frame" is a function, or a measure of time??.

Update() is called every frame - Unity Document saysI see this term used in different ways:

Update() is called during a frame - Some People Says

  • Update() is called every frame - Unity Document says

  • Update() is called during a frame - Some People Says

  • Update() is called once per frame - Some People Says

Update() is called once per frameI'm confuse by these statements - Some People Says

I m confuse above both statement what is true/false?

Is frame() a function?

I Don't know whatOr is frame, I assume frame is function or not? a unit of time? I assume frame

And what is timeframes per second ?(fps)?

CodeI've been trying to investigate using this code:

void Update ()
{
    CallThisOne();   // how many frame per second by default ex 60fps,30fps??
    CallThisTwo();   // how many frame per second by default ex 60fps,30fps??
}

void CallThisOne()
{
    Debug.Log("CallThisOne");
}

void CallThisTwo()
{
    Debug.Log("CallThisTwo");
}

Output: enter image description here

Please some one explain frame is a function or not??frame per second(fps)??

I am confused. Frame is a function or time??Console log showing each of these functions have been called 506 times

What is Frame and Frame Per Second?

I'm a New to the unity Editor, trying to understand unity scripting.

What is frame?? I don't know frame is function or time??

Update() is called every frame - Unity Document says

Update() is called during a frame - Some People Says

Update() is called once per frame - Some People Says

I m confuse above both statement what is true/false??

I Don't know what is frame, I assume frame is function or not?? I assume frame is time ??

Code:

void Update ()
{
    CallThisOne();   // how many frame per second by default ex 60fps,30fps??
    CallThisTwo();   // how many frame per second by default ex 60fps,30fps??
}

void CallThisOne()
{
    Debug.Log("CallThisOne");
}

void CallThisTwo()
{
    Debug.Log("CallThisTwo");
}

Output: enter image description here

Please some one explain frame is a function or not??frame per second(fps)??

I am confused. Frame is a function or time??

What is a Frame and Frame Per Second?

I'm new to the unity Editor, trying to understand Unity scripting.

What is frame? I can't tell from how it's used whether "frame" is a function, or a measure of time.

I see this term used in different ways:

  • Update() is called every frame - Unity Document says

  • Update() is called during a frame - Some People Says

  • Update() is called once per frame - Some People Says

I'm confuse by these statements - what is true/false?

Is frame() a function?

Or is frame a unit of time?

And what is frames per second (fps)?

I've been trying to investigate using this code:

void Update ()
{
    CallThisOne();   // how many frame per second by default ex 60fps,30fps??
    CallThisTwo();   // how many frame per second by default ex 60fps,30fps??
}

void CallThisOne()
{
    Debug.Log("CallThisOne");
}

void CallThisTwo()
{
    Debug.Log("CallThisTwo");
}

Output:

Console log showing each of these functions have been called 506 times

Source Link

What is Frame and Frame Per Second?

I'm a New to the unity Editor, trying to understand unity scripting.

What is frame?? I don't know frame is function or time??

Update() is called every frame - Unity Document says

Update() is called during a frame - Some People Says

Update() is called once per frame - Some People Says

I m confuse above both statement what is true/false??

I Don't know what is frame, I assume frame is function or not?? I assume frame is time ??

Code:

void Update ()
{
    CallThisOne();   // how many frame per second by default ex 60fps,30fps??
    CallThisTwo();   // how many frame per second by default ex 60fps,30fps??
}

void CallThisOne()
{
    Debug.Log("CallThisOne");
}

void CallThisTwo()
{
    Debug.Log("CallThisTwo");
}

Output: enter image description here

Please some one explain frame is a function or not??frame per second(fps)??

I am confused. Frame is a function or time??