VectSharp 2.5.0
A light library for C# vector graphics
Loading...
Searching...
No Matches
VectSharp.ThreeD.IScene Interface Reference

Represents a 3D scene. More...

Inheritance diagram for VectSharp.ThreeD.IScene:

Public Member Functions

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

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 26 of file Scene.cs.

Member Function Documentation

◆ AddElement()

void VectSharp.ThreeD.IScene.AddElement ( Element3D  element)

Adds the specified element to the scene.

Parameters
elementThe Element3D to add.

Implemented in VectSharp.ThreeD.Scene.

◆ AddRange()

void VectSharp.ThreeD.IScene.AddRange ( IEnumerable< Element3D >  elements)

Adds the specified elements to the scene.

Parameters
elementsA collection of Element3Ds to add.

Implemented in VectSharp.ThreeD.Scene.

◆ Replace() [1/2]

void VectSharp.ThreeD.IScene.Replace ( Func< Element3D, Element3D >  replacementFunction)

Replaces each element in the scene with the element returned by the replacementFunction .

Parameters
replacementFunctionA function replacing each Element3D in the scene with another Element3D.

Implemented in VectSharp.ThreeD.Scene.

◆ Replace() [2/2]

void VectSharp.ThreeD.IScene.Replace ( Func< Element3D, IEnumerable< Element3D > >  replacementFunction)

Replaces each element in the scene with the element(s) returned by the replacementFunction .

Parameters
replacementFunctionA function replacing each Element3D in the scene with 0 or more Element3Ds.

Implemented in VectSharp.ThreeD.Scene.

Property Documentation

◆ SceneElements

IEnumerable<Element3D> VectSharp.ThreeD.IScene.SceneElements
get

The Element3Ds constituting the scene.

Implemented in VectSharp.ThreeD.Scene.

Definition at line 31 of file Scene.cs.

◆ SceneLock

object VectSharp.ThreeD.IScene.SceneLock
get

An object used to synchronise multithreaded rendering of the same scene.

Implemented in VectSharp.ThreeD.Scene.

Definition at line 60 of file Scene.cs.


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