/// <summary>
 /// Constructs a new <see cref="ActivateGestureEvent"/>.
 /// </summary>
 /// <param name="id">The <see cref="GestureId"/> associated with the gesture.</param>
 /// <param name="state">The <see cref="GestureId"/> associated with the gesture.</param>
 /// <param name="rayOrigin">The <see cref="Vector3"/> ray origin associated with the gesture.</param>
 /// <param name="rayDirection">The <see cref="Vector3"/> ray direction associated with the gesture.</param>
 public ActivateGestureEvent(GestureId id, GestureState state, Vector3 rayOrigin, Vector3 rayDirection)
 {
     m_Id           = id;
     m_State        = state;
     m_RayOrigin    = rayOrigin;
     m_RayDirection = rayDirection;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs a new <see cref="ActivateGestureEvent"/>.
 /// </summary>
 /// <param name="id">The <see cref="GestureId"/> associated with the gesture.</param>
 /// <param name="state">The <see cref="GestureId"/> associated with the gesture.</param>
 public ActivateGestureEvent(GestureId id, GestureState state)
 {
     m_Id    = id;
     m_State = state;
 }