DoopelPonger
Public Member Functions | Public Attributes | List of all members
BallLightInformation Class Reference

Data given to the BallColorWaveManager when the color should splash through an object. More...

Public Member Functions

 BallLightInformation (Vector2 worldPosition, Color color, float gradient, float maxDistance, float timeToMaxDistance, float timeToColorDisolve)
 

Public Attributes

Vector2 worldPosition
 
Color color
 
float gradient
 
float maxDistance
 
float timeToMaxDistance
 
float timeToColorDisolve
 

Detailed Description

Data given to the BallColorWaveManager when the color should splash through an object.

Constructor & Destructor Documentation

◆ BallLightInformation()

BallLightInformation.BallLightInformation ( Vector2  worldPosition,
Color  color,
float  gradient,
float  maxDistance,
float  timeToMaxDistance,
float  timeToColorDisolve 
)

Member Data Documentation

◆ color

Color BallLightInformation.color

The color of the splash.

◆ gradient

float BallLightInformation.gradient

The smooth drop off of the color to the edge of the splash circle.

◆ maxDistance

float BallLightInformation.maxDistance

The max size of the color splash.

◆ timeToColorDisolve

float BallLightInformation.timeToColorDisolve

How long the color splash should exist.

◆ timeToMaxDistance

float BallLightInformation.timeToMaxDistance

The amount of time it takes to get the the max size.

◆ worldPosition

Vector2 BallLightInformation.worldPosition

Position the color splash should originate from.


The documentation for this class was generated from the following file: