Third Person Cover Shooter  1.6
CoverShooter.Character Struct Reference

Describes a human character. More...

Public Member Functions

bool IsInSight (float height, float delta)
 Returns true if a point at certain height inside the screen's area. More...
 
bool IsAnyInSight (float delta)
 Returns true if the character's head or feet inside the screen's area. More...
 
Vector3 ViewportPoint (float height=0)
 Returns position at certain height in viewport space. More...
 

Public Attributes

bool IsValid
 Cached value of Motor not being null. More...
 
GameObject Object
 Link to the game object of the character. More...
 
CharacterMotor Motor
 Link to the character motor of the character. More...
 
Actor Actor
 Link to the actor of the character. More...
 

Detailed Description

Describes a human character.

Member Function Documentation

◆ IsAnyInSight()

bool CoverShooter.Character.IsAnyInSight ( float  delta)

Returns true if the character's head or feet inside the screen's area.

◆ IsInSight()

bool CoverShooter.Character.IsInSight ( float  height,
float  delta 
)

Returns true if a point at certain height inside the screen's area.

◆ ViewportPoint()

Vector3 CoverShooter.Character.ViewportPoint ( float  height = 0)

Returns position at certain height in viewport space.

Member Data Documentation

◆ Actor

Actor CoverShooter.Character.Actor

Link to the actor of the character.

◆ IsValid

bool CoverShooter.Character.IsValid

Cached value of Motor not being null.

◆ Motor

CharacterMotor CoverShooter.Character.Motor

Link to the character motor of the character.

◆ Object

GameObject CoverShooter.Character.Object

Link to the game object of the character.


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