Skip to content

GameTime.Alpha Property

Definition

Namespace: Brine2D.Core

Physics interpolation factor in the range [0, 1]. Only meaningful during the render pass. Represents how far the current frame is between the last two fixed timesteps: 0 = exactly at the last fixed step, 1 = exactly at the next step. Use this to lerp rendered positions between the previous and current physics state for smooth visuals at any frame rate. Always 0 during Update and FixedUpdate.

C#
public float Alpha { get; init; }

Property Value

System.Single