Init

init

DESCRIPTION:

Initializes the motion sensor.  Should be called by EventBeginPlay before anything else.

INPUTS:

  • Target [MotionSensorComponent]: The Unreal Engine/MotionSensor interface object.
  • Sensor Type[ESensorType]:  Motion sensor type Kinect v2.0 (Kinect for Windows v2.0) or Kinect v1.0, PrimeSensor, Asus XTION (OpenNI/NiTE)
  • Override Sensor Type [boolean]: If true, sensor type can be overridden from command line parameters.
    -KINECT_V1 or -KINECT_V2 parameter can be used

OUTPUTS:

  • ResX [int]: Sensor RGB horizontal resolution
  • ResY [int]: Sensor RGB vertical resolution
  • Fov [float]: Sensor vertical field of view
  • Width Multiplier [float]: Used for user scale adjustment
  • Return Value [Boolean]: The value (true/false) that indicates whether the motion sensor initialized successfully or not.