Barotrauma Client Doc
Barotrauma.WaterVertexData Struct Reference

Public Member Functions

 WaterVertexData (float distortStrengthX, float distortStrengthY, float waterColorStrength, float waterAlpha)
 

Static Public Member Functions

static implicit operator Color (WaterVertexData wd)
 

Public Attributes

float DistortStrengthX
 
float DistortStrengthY
 
float WaterColorStrength
 
float WaterAlpha
 

Detailed Description

Definition at line 8 of file WaterRenderer.cs.

Constructor & Destructor Documentation

◆ WaterVertexData()

Barotrauma.WaterVertexData.WaterVertexData ( float  distortStrengthX,
float  distortStrengthY,
float  waterColorStrength,
float  waterAlpha 
)

Definition at line 15 of file WaterRenderer.cs.

Member Function Documentation

◆ operator Color()

static implicit Barotrauma.WaterVertexData.operator Color ( WaterVertexData  wd)
static

Definition at line 23 of file WaterRenderer.cs.

Member Data Documentation

◆ DistortStrengthX

float Barotrauma.WaterVertexData.DistortStrengthX

Definition at line 10 of file WaterRenderer.cs.

◆ DistortStrengthY

float Barotrauma.WaterVertexData.DistortStrengthY

Definition at line 11 of file WaterRenderer.cs.

◆ WaterAlpha

float Barotrauma.WaterVertexData.WaterAlpha

Definition at line 13 of file WaterRenderer.cs.

◆ WaterColorStrength

float Barotrauma.WaterVertexData.WaterColorStrength

Definition at line 12 of file WaterRenderer.cs.