Model Hat Controller

ModelHatController is component of the VikingHat-game object in KinectFaceTrackingDemo2-scene. It overlays the game objects it is attached to over the color-camera background.


Player Index

Index of the player, tracked by this component. 0 means the 1st player, 1 - the 2nd one, 2 - the 3rd one, etc.

Foreground Camera

Camera used to estimate the overlay positions of 3D-objects over the background.

Vertical Offset

Vertical offset of the hat above the head position (in meters).

Model Scale Factor

Scale factor for the hat model.

Smooth Factor Rotation

Smooth factor used for hat-model rotation.

Smooth Factor Movement

Smooth factor used for hat-model movement.