NodeWorld

MipmapStreamingValidator

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public static class MipmapStreamingValidator

Namespace NodeWorld.SDK.Editor.

Checks that the textures of a world or an avatar have mipmaps and mipmap streaming, as the game needs on every platform, and fixes them.

Methods

ValidateScene

csharp
public static Report ValidateScene(string scenePath)

Checks the textures used by the scene at scenePath.

ValidateAvatar

csharp
public static Report ValidateAvatar(GameObject avatarRoot)

Checks the textures used by the avatar under avatarRoot.

Fix

csharp
public static int Fix(Report report)

Turns on mipmaps and mipmap streaming in the import settings of every texture of report; returns how many it changed.

Nested types