Function FirstPersonViewComponent.this

Constructs a first-person view component for the given entity.

this(
  EventManager eventManager,
  Entity hostEntity
);

Parameters

NameDescription
eventManager Event manager.
hostEntity Entity to attach the component to (usually a Camera object).