VectSharp 2.6.1
A light library for C# vector graphics
|
Represents a 3D scene. More...
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 .
| |||
void | AddElement (Element3D element) | ||
Adds the specified element to the scene. More... | |||
void | AddRange (IEnumerable< Element3D > elements) | ||
Adds the specified elements to the scene. More... | |||
void | Replace (Func< Element3D, Element3D > replacementFunction) | ||
Replaces each element in the scene with the element returned by the replacementFunction . More... | |||
void | Replace (Func< Element3D, IEnumerable< Element3D > > replacementFunction) | ||
Replaces each element in the scene with the element(s) returned by the replacementFunction . More... | |||
Properties | |
object | SceneLock [get] |
An object used to synchronise multithreaded rendering of the same scene. More... | |
IEnumerable< Element3D > | SceneElements [get] |
The Element3Ds constituting the scene. More... | |
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... | |
void VectSharp.ThreeD.Scene.AddElement | ( | Element3D | element | ) |
Adds the specified element to the scene.
element | The Element3D to add. |
Implements VectSharp.ThreeD.IScene.
void VectSharp.ThreeD.Scene.AddRange | ( | IEnumerable< Element3D > | elements | ) |
Adds the specified elements to the scene.
elements | A collection of Element3Ds to add. |
Implements VectSharp.ThreeD.IScene.
void VectSharp.ThreeD.Scene.Replace | ( | Func< Element3D, Element3D > | replacementFunction | ) |
Replaces each element in the scene with the element returned by the replacementFunction .
replacementFunction | A function replacing each Element3D in the scene with another Element3D. |
Implements VectSharp.ThreeD.IScene.
void VectSharp.ThreeD.Scene.Replace | ( | Func< Element3D, IEnumerable< Element3D > > | replacementFunction | ) |
Replaces each element in the scene with the element(s) returned by the replacementFunction .
replacementFunction | A function replacing each Element3D in the scene with 0 or more Element3Ds. |
Implements VectSharp.ThreeD.IScene.
|
get |
The Element3Ds constituting the scene.
Implements VectSharp.ThreeD.IScene.
|
get |
An object used to synchronise multithreaded rendering of the same scene.
Implements VectSharp.ThreeD.IScene.