Each game object is made up of various properties that can be viewed in the Inspector panel (Figure 7-9),which is typically found on the right side of the scene editor. These properties are known in Unity as components. Components can include meshes, which decide the shape of the object (if it even has one); colliders, which decide the object’s physical interactions with other objects; scripts, which dictate the object’s behavior; and many other things. By default, a game object only has one component:the transform component. This dictates where a game object is placed in the 3D world, along with its orientation and size. Other components can be added depending on what you want to achieve with the game object.


Access to Video Data With Kinect (SDK)

  • Step1:Sensor Acquisition and Startup;
  • Step2:specify which streams we need(add references to the frame readers.)

step1.Kinect for Windows supports one sensor, which is called the default sensor. The KinectSensor Class has static members to help configure the Kinect sensor and access sensor data.

step2.Use the sensor to access data from several sources including: color, depth, body, body index, and infrared. Functionally, each source is controlled by the following three things:

  • Source type
    Inspect or configure a source and open a source reader.

  • Source reader type
    Access to the source’s frames using eventing or polling.

  • Frame type
    Access the data from a particular frame from the source.