Camera — Aspose.3D FOSS for .NET
Overview
The Camera class is an Entity that inherits from Frustum and represents a virtual camera in the 3D scene. Attach it to a Node to position and orient it within the scene hierarchy. In the current FOSS edition, Camera does not expose format-specific properties; it serves as a typed entity marker that can be attached to nodes.
using Aspose.ThreeD;
using Aspose.ThreeD.Entities;
var scene = new Scene();
var camera = new Camera();
scene.RootNode.CreateChildNode("MainCamera", camera);Constructor
| Parameter | Type | Description |
|---|---|---|
| (none) | Creates a default camera | |
name | string | Creates a named camera |