Model Selector


ModelSelector is component of the KinectController-game object in KinectFittingRoom1-scene. It locates the available models for the category, creates the category menu and instantiates the currently selected clothing model.



Property:
Description:

Player Index

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

Model Category

The model category. Used for model discovery and title of the category menu.

Number of Models

Total number of the available clothing models.

Dressing Menu

Reference to the dresing menu.

Dressing Item Prefab

Reference to the dresing menu-item prefab.

Model Relative to Camera

Makes the initial model position relative to this camera, to be equal to the player's position, relative to the sensor.

Foreground Camera

Camera used to estimate the overlay position of the model over the background.

Keep Selected Model

Whether to keep the selected model, when the model category gets changed.

Continuous Scaling

Whether the scale is updated continuously or just once, after the calibration pose.

Body Scale Factor

Full body scale factor (incl. height, arms and legs) that might be used for fine tuning of body-scale.

Body Width Factor

Body width scale factor that might be used for fine tuning of the width scale. If set to 0, the body-scale factor will be used for the width, too.

Arm Scale Factor

Additional scale factor for arms that might be used for fine tuning of arm-scale.

Leg Scale Factor

Additional scale factor for legs that might be used for fine tuning of leg-scale.

Vertical Offset

Vertical offset of the avatar with respect to the position of user's spine-base.

Forward Offset

Forward (Z) offset of the avatar with respect to the position of user's spine-base.

Model Gender

Gender filter of this model selector.

Minimum Age

Minimum age filter of this model selector.

Maximum Age

Maximum age filter of this model selector.