Click or drag to resize

RenderSceneManagerAddProduct Method (SceneGuid, DataDatabaseGuid, DataProductGuid, NewProductOptions)

Adds a product from a loaded database in a scene.

Namespace:  Lumiscaphe.Workshop.Interop
Assembly:  Lumiscaphe.Workshop.Interop (in Lumiscaphe.Workshop.Interop.dll) Version: 21.1.16.0
Syntax
public SceneProductGuid AddProduct(
	SceneGuid scene,
	DataDatabaseGuid dataDatabase,
	DataProductGuid dataProduct,
	NewProductOptions options
)

Parameters

scene
Type: Lumiscaphe.Workshop.InteropSceneGuid
The scene identifier.
dataDatabase
Type: Lumiscaphe.Workshop.InteropDataDatabaseGuid
The DataDatabase(SceneGuid, SceneProductGuid) identifier.
dataProduct
Type: Lumiscaphe.Workshop.InteropDataProductGuid
The DataProduct(SceneGuid, SceneProductGuid) identifier.
options
Type: Lumiscaphe.Workshop.InteropNewProductOptions
The NewProductOptions structure.

Return Value

Type: SceneProductGuid
The scene product identifier corresponding to the added product.
Exceptions
ExceptionCondition
ObjectDestroyedExceptionRenderSceneManager::IsDestroyed == true
Remarks
This method rebuild the scene. Use a BeginUpdate/EndUpdate block if other operations that rebuild the scene must be done.
Version Information

Lumiscaphe Workshop SDK

Supported in: 7.0 release 1
See Also