/// <summary>
        /// Assigns the panning behavior to an interactor.
        /// </summary>
        /// <param name="interactor">The interactor.</param>
        public void AssignBehavior(Interactor interactor)
        {
            var parameters = new PannableParams
            {
                IsHandsFreeEnabled     = EyeXBoolean.False,
                PanDirectionsAvailable = PanDirectionsAvailable,
                Profile = Profile
            };

            interactor.CreatePannableBehavior(ref parameters);
        }
	public void AssignBehavior (Interactor interactor)
	{
		// Create the parameters used to create the pannable behavior.
		var param = new PannableParams
		{
			IsHandsFreeEnabled = EyeXBoolean.False,
			PanDirectionsAvailable = (PanDirection)AvailablePanDirections,
			Profile = (PanningProfile)Profile
		};
		
		// Create and associate the pannable behavior with the interactor.
		interactor.CreatePannableBehavior(ref param);
	}
Beispiel #3
0
    public void AssignBehavior(Interactor interactor)
    {
        // Create the parameters used to create the pannable behavior.
        var param = new PannableParams
        {
            IsHandsFreeEnabled     = EyeXBoolean.False,
            PanDirectionsAvailable = (PanDirection)AvailablePanDirections,
            Profile = (PanningProfile)Profile
        };

        // Create and associate the pannable behavior with the interactor.
        interactor.CreatePannableBehavior(ref param);
    }
Beispiel #4
0
 /// <summary>
 /// Assigns the panning behavior to an interactor.
 /// </summary>
 /// <param name="interactor">The interactor.</param>
 public void AssignBehavior(Interactor interactor)
 {
     var parameters = new PannableParams
     {
         IsHandsFreeEnabled = EyeXBoolean.False,
         PanDirectionsAvailable = PanDirectionsAvailable,
         Profile = Profile
     };
     interactor.CreatePannableBehavior(ref parameters);
 }