Class ReflectionProbeExtension
The texture asset helper class.
Inherited Members
Namespace: Evergine.Assets.Exporters
Assembly: Evergine.Assets.dll
Syntax
public static class ReflectionProbeExtension
Methods
AssetExists(ReflectionProbe, ContentDirectory, string)
Indicates whether scene reflection probe file was generated.
Declaration
public static bool AssetExists(this ReflectionProbe reflectionProbe, ContentDirectory parentDirectory, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ReflectionProbe | reflectionProbe | The reflection probe to save. |
| ContentDirectory | parentDirectory | The parent directory to save. |
| string | name | The name of the asset. |
Returns
| Type | Description |
|---|---|
| bool | True whether the scene reflection probe file was generated or False in otherwise. |
SaveAsset(ReflectionProbe, GraphicsContext, ContentDirectory, string)
Save a texture in a file.
Declaration
public static void SaveAsset(this ReflectionProbe reflectionProbe, GraphicsContext context, ContentDirectory parentDirectory, string name)
Parameters
| Type | Name | Description |
|---|---|---|
| ReflectionProbe | reflectionProbe | The reflection probe to save. |
| GraphicsContext | context | The graphics context. |
| ContentDirectory | parentDirectory | The parent directory to save. |
| string | name | The name of the asset. |