Table of Contents

Class SceneResources

Namespace
Bonsai.Shaders.Rendering
Assembly
Bonsai.Shaders.Rendering.dll

Represents an operator that creates a collection of scene resources to be loaded into the resource manager.

public class SceneResources : ResourceLoader
Inheritance
SceneResources
Inherited Members

Properties

PostProcessSteps

Gets or sets a value specifying post processing steps to run on the data for generating or optimizing vertex data.

public PostProcessSteps PostProcessSteps { get; set; }

Property Value

PostProcessSteps

RotationX

Gets or sets the model rotation about the X-axis. This property is only used during the loading stage.

public float RotationX { get; set; }

Property Value

float

RotationY

Gets or sets the model rotation about the Y-axis. This property is only used during the loading stage.

public float RotationY { get; set; }

Property Value

float

RotationZ

Gets or sets the model rotation about the Z-axis. This property is only used during the loading stage.

public float RotationZ { get; set; }

Property Value

float

Scale

Gets or sets the uniform scale factor to apply to the model transform nodes.

public float Scale { get; set; }

Property Value

float

Scenes

Gets the collection of scene resources to be loaded into the resource manager.

public SceneConfigurationCollection Scenes { get; }

Property Value

SceneConfigurationCollection

ShaderName

Gets or sets the name of the shader program used to render scene materials.

[TypeConverter(typeof(ShaderNameConverter))]
public string ShaderName { get; set; }

Property Value

string

Methods

GetResources()

Returns the set of resources to be loaded into the resource manager.

protected override IEnumerable<IResourceConfiguration> GetResources()

Returns

IEnumerable<IResourceConfiguration>

A collection of IResourceConfiguration objects to be loaded into the resource manager.