rj-action-library/Runtime/Procedural/Mesh/MeshSurface.cs

28 lines
547 B
C#

using System.Collections;
using System.Collections.Generic;
using Godot;
using System;
namespace Rokojori
{
public class MeshSurface
{
public Mesh mesh;
public Material material;
public int index;
public Node owner;
public int instanceIndex;
public MeshSurface( Mesh mesh, Material material, int index, Node owner = null, int instanceIndex = -1 )
{
this.index = index;
this.mesh = mesh;
this.material = material;
this.owner = owner;
this.instanceIndex = instanceIndex;
}
}
}