C# Class TerrainPainter.tp_Projector

Exibir arquivo Open project: Stumpstump/RoverGame Class Usage Examples

Private Properties

Property Type Description
IsPaintTab bool
UpdateColorLerp void
UpdateColorLerp void
UpdateProjector void

Public Methods

Method Description
Create ( ) : void

Create Projector

DisableProjector ( ) : void

Disable Projector

DisposeProjector ( ) : void

Destroy Projector

EnableProjector ( ) : void

Enable Projector

LoadDefault ( ) : void

Load default colours

Update ( bool isPainting ) : void

Update Projector

Private Methods

Method Description
IsPaintTab ( TerrainPainter.TerrainPainter tpc ) : bool
UpdateColorLerp ( bool add ) : void

UpdateColorLerp ( float deltatime, bool add ) : void

UpdateProjector ( Vector3 pos, float brushSize ) : void

Update Projector

Method Details

Create() public method

Create Projector
public Create ( ) : void
return void

DisableProjector() public method

Disable Projector
public DisableProjector ( ) : void
return void

DisposeProjector() public method

Destroy Projector
public DisposeProjector ( ) : void
return void

EnableProjector() public method

Enable Projector
public EnableProjector ( ) : void
return void

LoadDefault() public method

Load default colours
public LoadDefault ( ) : void
return void

Update() public method

Update Projector
public Update ( bool isPainting ) : void
isPainting bool
return void