class ThreeDViewer.Scene

Overview

Represents a scene that contains entites and has a camera. More…

class Scene
{
public:
    // properties

    EntityCollection Entities;
    List<Face> SortedAbsoluteFaces;
    Camera Camera;

    // methods

    Scene();
    Scene(EntityCollection entities);
    Scene(Camera camera);
    Scene(EntityCollection entities, Camera camera);
};

Detailed Documentation

Represents a scene that contains entites and has a camera.

Properties

EntityCollection Entities

Gets the collection of entities in the scene.

List<Face> SortedAbsoluteFaces

Gets all the absolute faces sorted from the furthest to the camera to the closest.

Camera Camera

Gets the camera of the scene.

Methods

Scene()

Initializes a new instance of the Scene class.

Scene(EntityCollection entities)

Initializes a new instance of the Scene class.

Parameters:

entities

Entities contained in the scene.

Scene(Camera camera)

Initializes a new instance of the Scene class.

Parameters:

camera

Camera of the scene.

Scene(EntityCollection entities, Camera camera)

Initializes a new instance of the Scene class.

Parameters:

entities

The entities contained in the scene.

camera

The camera of the scene.