40 lines
906 B
C#
40 lines
906 B
C#
using System;
|
|
|
|
namespace TrueCraft.Client.Rendering
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <typeparam name="T"></typeparam>
|
|
public sealed class RendererEventArgs<T> : EventArgs
|
|
{
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public T Item { get; private set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public Mesh Result { get; private set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
public bool IsPriority { get; private set; }
|
|
|
|
/// <summary>
|
|
///
|
|
/// </summary>
|
|
/// <param name="item"></param>
|
|
/// <param name="result"></param>
|
|
/// <param name="isPriority"></param>
|
|
public RendererEventArgs(T item, Mesh result, bool isPriority)
|
|
{
|
|
Item = item;
|
|
Result = result;
|
|
IsPriority = isPriority;
|
|
}
|
|
}
|
|
}
|