Third Person Cover Shooter  1.6
CoverShooter.Laser Class Reference

Generates and displays a laser mesh. More...

Inheritance diagram for CoverShooter.Laser:

Public Member Functions

void Setup (Vector3 origin, Vector3 target)
 Setup the laser's origin and target. More...
 

Public Attributes

float MaxLength = 4.0f
 Max length of the laser. More...
 
float Alpha = 1
 Transparency of the laser, usually managed by the gun. More...
 
float Length = 4.0f
 Managed by the gun or some other component. More...
 

Detailed Description

Generates and displays a laser mesh.

Set up by a BaseGun component.

Member Function Documentation

◆ Setup()

void CoverShooter.Laser.Setup ( Vector3  origin,
Vector3  target 
)

Setup the laser's origin and target.

Adjusts the attached transform.

Member Data Documentation

◆ Alpha

float CoverShooter.Laser.Alpha = 1

Transparency of the laser, usually managed by the gun.

◆ Length

float CoverShooter.Laser.Length = 4.0f

Managed by the gun or some other component.

◆ MaxLength

float CoverShooter.Laser.MaxLength = 4.0f

Max length of the laser.


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