HPL3/Amnesia: Rebirth/Scripting/cColor

From Frictional Wiki
< HPL3‎ | Amnesia: Rebirth‎ | Scripting
Revision as of 23:05, 15 November 2020 by Abion47 (talk | contribs) (Created page with "{{ScriptingStub}} Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! ==Fields== {{CodeDocSummaryTop|Field Type|Field Name...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki!

Fields

Field Type Field Name And Description
float a
float b
float g
float r

Functions

Return Type Function And Description
cColor ToLinearSpace(const float afPower, const bool abCorrectAlpha)
cColor ToSRGB(const bool abCorrectAlpha)

Details

a

float a

b

float b

g

float g

r

float r

ToLinearSpace

cColor ToLinearSpace(const float afPower,
                     const bool abCorrectAlpha)


Parameters

  • afPower (float) —
  • abCorrectAlpha (bool) —

Returns:

  • cColor

ToSRGB

cColor ToSRGB(const bool abCorrectAlpha)


Parameters

  • abCorrectAlpha (bool) —

Returns:

  • cColor

References

See all references...