23 lines
554 B
C#
23 lines
554 B
C#
// Copyright (c) Wojciech Figat. All rights reserved.
|
|
|
|
|
|
using FlaxEngine.Json;
|
|
|
|
namespace FlaxEngine
|
|
{
|
|
partial class ModelInstanceActor
|
|
{
|
|
partial struct MeshReference : ICustomValueEquals
|
|
{
|
|
/// <inheritdoc />
|
|
public bool ValueEquals(object other)
|
|
{
|
|
var o = (MeshReference)other;
|
|
return JsonSerializer.ValueEquals(Actor, o.Actor) &&
|
|
LODIndex == o.LODIndex &&
|
|
MeshIndex == o.MeshIndex;
|
|
}
|
|
}
|
|
}
|
|
}
|