Search Results for

    Show / Hide Table of Contents

    Class AssetsHelper

    Helper assets methods.

    Inheritance
    object
    AssetsHelper
    Namespace: Evergine.Common.Utils
    Assembly: Evergine.Assets.dll
    Syntax
    public static class AssetsHelper

    Methods

    GetAssets(params string[])

    Gets all the assets that are contained in the specified folders. If the Id is of an assets already exsists, the order of specified directories are used, and the returned asset is the one that is in the first folder.

    Declaration
    public static Dictionary<Guid, AssetItem> GetAssets(params string[] contentDirectories)
    Parameters
    Type Name Description
    string[] contentDirectories

    The Content directoris of project.

    Returns
    Type Description
    Dictionary<Guid, AssetItem>

    All the assets that are contained in the specified folders.

    GetProfile(string, string)

    Gets a profile data model for a project.

    Declaration
    public static ProjectProfile GetProfile(string weproj, string profileName)
    Parameters
    Type Name Description
    string weproj

    Project file path.

    string profileName

    Profile name.

    Returns
    Type Description
    ProjectProfile

    Profile data model.

    GetProjectModel(string)

    Gets a project data model.

    Declaration
    public static ProjectModel GetProjectModel(string weproj)
    Parameters
    Type Name Description
    string weproj

    Project file path.

    Returns
    Type Description
    ProjectModel

    Project data model.

    SaveProjectModel(ProjectModel, string)

    Saves project data model to disk.

    Declaration
    public static void SaveProjectModel(ProjectModel projectModel, string weproj)
    Parameters
    Type Name Description
    ProjectModel projectModel

    Project model.

    string weproj

    Project file path.

    In this article
    Back to top
    Generated by DocFX