VectSharp  2.2.1
A light library for C# vector graphics
VectSharp.ThreeD.Scene Class Reference

Represents a 3D scene. More...

Inheritance diagram for VectSharp.ThreeD.Scene:

Public Member Functions

 Scene ()
 Creates a new Scene. More...
 
void AddElement (Element3D element)
 Adds the specified element to the scene.
 
void AddRange (IEnumerable< Element3D > elements)
 Adds the specified elements to the scene.
 
void Replace (Func< Element3D, Element3D > replacementFunction)
 Replaces each element in the scene with the element returned by the replacementFunction .
 
void Replace (Func< Element3D, IEnumerable< Element3D >> replacementFunction)
 Replaces each element in the scene with the element(s) returned by the replacementFunction .
 

Public Attributes

IEnumerable< Element3D > SceneElements => sceneElements
 

Properties

object SceneLock [get]
 
- Properties inherited from VectSharp.ThreeD.IScene
IEnumerable< Element3D > SceneElements [get]
 The Element3Ds constituting the scene. More...
 
object SceneLock [get]
 An object used to synchronise multithreaded rendering of the same scene. More...
 

Detailed Description

Represents a 3D scene.

Definition at line 66 of file Scene.cs.

Constructor & Destructor Documentation

◆ Scene()

VectSharp.ThreeD.Scene.Scene ( )

Creates a new Scene.

Definition at line 79 of file Scene.cs.


The documentation for this class was generated from the following file: