您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
31 行
623 B
31 行
623 B
using Unity.Entities;
|
|
using Unity.Mathematics;
|
|
|
|
namespace Unity.Rendering
|
|
{
|
|
public struct ActiveLODGroupMask : IComponentData
|
|
{
|
|
public int LODMask;
|
|
}
|
|
|
|
public struct MeshLODGroupComponent : IComponentData
|
|
{
|
|
public Entity ParentGroup;
|
|
public int ParentMask;
|
|
|
|
public float4 LODDistances;
|
|
|
|
public float3 WorldReferencePoint;
|
|
}
|
|
|
|
|
|
public struct HLODComponent : IComponentData
|
|
{
|
|
}
|
|
|
|
public struct MeshLODComponent : IComponentData
|
|
{
|
|
public Entity Group;
|
|
public int LODMask;
|
|
}
|
|
}
|