C# Class FrameRateControls

Provides control of target frame rate.
This utility is useful for verifying frame-rate independence of behaviors.
Inheritance: MonoBehaviour
显示文件 Open project: leapmotion/ImageGrid

Public Properties

Property Type Description
decrease KeyCode,
fixedPhysicsRate int
fixedPhysicsRateStep int
increase KeyCode,
resetRate KeyCode,
targetRenderRate int
targetRenderRateStep int
unlockPhysics KeyCode,
unlockRender KeyCode,

Public Methods

Method Description
Awake ( ) : void
ResetAll ( ) : void
ResetPhysics ( ) : void
ResetRender ( ) : void
Update ( ) : void

Method Details

Awake() public method

public Awake ( ) : void
return void

ResetAll() public method

public ResetAll ( ) : void
return void

ResetPhysics() public method

public ResetPhysics ( ) : void
return void

ResetRender() public method

public ResetRender ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

decrease public_oe property

public KeyCode, decrease
return KeyCode,

fixedPhysicsRate public_oe property

public int fixedPhysicsRate
return int

fixedPhysicsRateStep public_oe property

public int fixedPhysicsRateStep
return int

increase public_oe property

public KeyCode, increase
return KeyCode,

resetRate public_oe property

public KeyCode, resetRate
return KeyCode,

targetRenderRate public_oe property

public int targetRenderRate
return int

targetRenderRateStep public_oe property

public int targetRenderRateStep
return int

unlockPhysics public_oe property

public KeyCode, unlockPhysics
return KeyCode,

unlockRender public_oe property

public KeyCode, unlockRender
return KeyCode,