Show / Hide Table of Contents

Method LoadMesh

| Edit this page View Source

LoadMesh(string)

Loads a mesh from a .obj file at runtime.
Declaration
public static Mesh LoadMesh(string meshPath)
Parameters
Type Name Description
string meshPath Mesh path relative to "plugins" BepInEx folder
Returns
Type Description
Mesh Texture2D loaded, or null if invalid path
  • Edit this page
  • View Source
☀
☾
In this article
Back to top
Generated by DocFX
☀
☾