Header menu logo Nu

PhysicallyBased.PhysicallyBasedSceneClient Type

Memoizes physically-based scene loads.

Constructors

Constructor Description

PhysicallyBasedSceneClient()

Full Usage: PhysicallyBasedSceneClient()

Returns: PhysicallyBasedSceneClient
Returns: PhysicallyBasedSceneClient

Instance members

Instance member Description

this.Scenes

Full Usage: this.Scenes

Returns: Dictionary<string, Scene>

Memoized scenes.

Returns: Dictionary<string, Scene>

this.TryCreatePhysicallyBasedModel

Full Usage: this.TryCreatePhysicallyBasedModel

Parameters:
Returns: Either<string, PhysicallyBasedModel>

Attempt to create physically-based model from a model file with assimp. Thread-safe if renderable = false.

renderable : bool
filePath : string
defaultMaterial : PhysicallyBasedMaterial
textureClient : TextureClient
Returns: Either<string, PhysicallyBasedModel>

Type something to start searching.