public void AddActionWithTarget(CC3CameraPerspectiveAction action, CC3CameraPerspective target, float actionDuration) { CC3CameraPerspectiveActionRunner actionRunner = new CC3CameraPerspectiveActionRunner(action, target, actionDuration); this.AddActionRunner(actionRunner); }
// end of ILCC3SemanticDelegate methods private void RunCameraActionForTextureTest() { CC3CameraPerspectiveActionBuilder cameraActionBuilder = new CC3CameraPerspectiveActionBuilder(); cameraActionBuilder.RotateCameraAroundAxisRelativeToTargetByDegrees(new CC3Vector(0.0f, 1.0f, 0.0f), 360.0f); CC3CameraPerspectiveActionRunner runner = new CC3CameraPerspectiveActionRunner(cameraActionBuilder.Build(), _camera, 4.0f); runner.RunAction(); }