Axiom.Core.Camera.SetAutoTracking C# (CSharp) Method

SetAutoTracking() private method

private SetAutoTracking ( bool enabled, SceneNode target, Vector3 offset ) : void
enabled bool
target SceneNode
offset Vector3
return void
        public void SetAutoTracking(bool enabled, SceneNode target, Vector3 offset)
        {
            if (enabled)
            {
                Debug.Assert(target != null, "A camera's auto track target cannot be null.");
                AutoTrackingTarget = target;
                AutoTrackingOffset = offset;
            }
            else
            {
                AutoTrackingTarget = null;
            }
        }

Same methods

Camera::SetAutoTracking ( bool enabled, Axiom.Core.MovableObject target ) : void
Camera::SetAutoTracking ( bool enabled, SceneNode target ) : void