rokojori_action_library/Runtime/Procedural/Mesh/MeshSurface.cs

29 lines
574 B
C#

using System.Collections;
using System.Collections.Generic;
using Godot;
using System;
using Rokojori.Extensions;
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;
}
}
}