Quantum 3 3.0.13

Public Member Functions | Public Attributes | List of all members
Quantum.Prototypes.FrameTimerPrototype Class Reference

Prototype to create a FrameTimer component. More...

Inheritance diagram for Quantum.Prototypes.FrameTimerPrototype:
Quantum.StructPrototype Quantum.IPrototype

Public Member Functions

void Materialize (FrameBase frame, ref FrameTimer result, in PrototypeMaterializationContext context)
 Materialized the prototype into the FrameTimer component. More...
 

Public Attributes

int Frames
 The number of frames to count. More...
 
FrameTimerPrototypeMode Mode
 The mode how to track the time. More...
 
FP Seconds
 The number of seconds to count. More...
 

Detailed Description

Prototype to create a FrameTimer component.

Member Function Documentation

◆ Materialize()

void Quantum.Prototypes.FrameTimerPrototype.Materialize ( FrameBase  frame,
ref FrameTimer  result,
in PrototypeMaterializationContext  context 
)
inline

Materialized the prototype into the FrameTimer component.

Parameters
frameFrame
resultResulting component
contextMaterialization context

Member Data Documentation

◆ Mode

FrameTimerPrototypeMode Quantum.Prototypes.FrameTimerPrototype.Mode

The mode how to track the time.

◆ Frames

int Quantum.Prototypes.FrameTimerPrototype.Frames

The number of frames to count.

◆ Seconds

FP Quantum.Prototypes.FrameTimerPrototype.Seconds

The number of seconds to count.