Garry's Mod Wiki

HSLToColor

void render.SetStencilPassOperation( number passOperation )

Description

Sets the operation to be performed on the stencil buffer values if the compare function was successful.

Arguments

table HSLToColor( number hue, number saturation, number value )

Description

1 number passOperation
Pass operation function, see Enums/STENCILOPERATION
void Player:ViewPunch( Angle PunchAngle )

Description

Simulates a push on the client's screen.

Arguments

1 Angle PunchAngle
The angle in which to push the player's screen.

Converts a color from HSL color space into RGB color space and returns a Color.

The returned color will not have the color metatable.

Arguments

1 number hue
The hue in degrees from 0-360.
2 number saturation
The saturation from 0-1.
3 number value
The lightness from 0-1.

Returns

1 table
The Color created from the HSL color space.

Page Links


Special Pages


Wikis

?

Render Time: 3,653ms

Session 0
DB GetPage 2,996
Generate Html 90
SaveChanges 414
Render Body 0
Render Sidebar 21