Search Results for

    Show / Hide Table of Contents

    Class ReflectionProbeExtension

    The texture asset helper class.

    Inheritance
    object
    ReflectionProbeExtension
    Namespace: Evergine.Assets.Exporters
    Assembly: Evergine.Assets.dll
    Syntax
    public static class ReflectionProbeExtension

    Methods

    AssetExists(ReflectionProbe, ContentDirectory, string)

    Indicates whether the 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 to.

    string name

    The name of the asset.

    Returns
    Type Description
    bool

    True if the scene reflection probe file was generated; False otherwise.

    SaveAsset(ReflectionProbe, GraphicsContext, ContentDirectory, string)

    Saves a texture to 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 to.

    string name

    The name of the asset.

    In this article
    Back to top
    Generated by DocFX