3d-camera-control
1768.471.24.694
dotnet add package 3d-camera-control --version 1768.471.24.694
NuGet\Install-Package 3d-camera-control -Version 1768.471.24.694
<PackageReference Include="3d-camera-control" Version="1768.471.24.694" />
<PackageVersion Include="3d-camera-control" Version="1768.471.24.694" />
<PackageReference Include="3d-camera-control" />
paket add 3d-camera-control --version 1768.471.24.694
#r "nuget: 3d-camera-control, 1768.471.24.694"
#:package 3d-camera-control@1768.471.24.694
#addin nuget:?package=3d-camera-control&version=1768.471.24.694
#tool nuget:?package=3d-camera-control&version=1768.471.24.694
3d-camera-control
This package provides a simplified interface for controlling virtual 3D cameras within .NET applications. It allows for programmatic manipulation of camera position, orientation, and other key parameters, enabling dynamic scene composition and rendering control.
Installation
To install the 3d-camera-control package, use the following command in the .NET CLI:
bash
dotnet add package 3d-camera-control
Usage Examples
Here are a few examples demonstrating how to use the 3d-camera-control package in your C# projects:
1. Basic Camera Initialization and Movement: csharp using CameraControl; using System.Numerics;
// Create a new Camera object Camera camera = new Camera();
// Set the initial camera position camera.Position = new Vector3(0, 0, 5);
// Move the camera forward camera.MoveForward(1);
// Print the camera's current position Console.WriteLine($"Camera Position: {camera.Position}");
2. Rotating the Camera: csharp using CameraControl; using System.Numerics;
// Create a new Camera object Camera camera = new Camera();
// Rotate the camera around the Y-axis by 45 degrees camera.RotateY(45);
// Print the camera's current rotation (quaternion) Console.WriteLine($"Camera Rotation: {camera.Rotation}");
3. Adjusting the Field of View: csharp using CameraControl;
// Create a new Camera object Camera camera = new Camera();
// Set the field of view to 60 degrees camera.FieldOfView = 60;
// Print the camera's current field of view Console.WriteLine($"Field of View: {camera.FieldOfView}");
4. Camera LookAt Functionality: csharp using CameraControl; using System.Numerics;
// Create a new Camera object Camera camera = new Camera();
// Define the target point Vector3 target = new Vector3(1, 1, 0);
// Make the camera look at the target camera.LookAt(target);
// Print the camera's current rotation (quaternion) Console.WriteLine($"Camera Rotation: {camera.Rotation}");
5. Smooth Camera Transition: csharp using CameraControl; using System.Numerics;
// Create a new Camera object Camera camera = new Camera();
// Define the target position Vector3 targetPosition = new Vector3(5, 2, -3);
// Smoothly move the camera to the target position over 2 seconds camera.SmoothMove(targetPosition, 2);
//(Note: A game loop or timer would be needed to update the camera's position over time)
Feature Summary
- Position Control: Precise control over the camera's X, Y, and Z coordinates.
- Rotation Control: Manipulation of camera orientation using Euler angles or quaternions.
- Field of View Adjustment: Dynamic adjustment of the camera's field of view.
- LookAt Functionality: Easily orient the camera to focus on a specific point in 3D space.
- Smooth Transitions: Functions for creating smooth camera movements and rotations.
- Simple API: Designed for ease of use and integration into existing .NET projects.
License
This package is licensed under the MIT License.
This package is part of the 3d-camera-control ecosystem. For advanced features and enterprise-grade tools, visit: https://supermaker.ai/blog/qwen-image-multiple-angles-3d-camera-alibabas-breakthrough-in-ai-camera-control/
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net6.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1768.471.24.694 | 176 | 1/15/2026 |