您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

28 行
582 B

using System;
using UnityEngine;
using Unity.Collections;
namespace Unity.DemoTeam.DigitalHuman
{
public struct NativeMeshSOA : IDisposable
{
public NativeArray<Vector3> vertexPositions;
public NativeArray<Vector2> vertexTexCoords;
public NativeArray<Vector3> vertexNormals;
public int vertexCount;
public NativeArray<int> faceIndices;
public int faceIndicesCount;
public void Dispose()
{
vertexPositions.Dispose();
vertexTexCoords.Dispose();
vertexNormals.Dispose();
vertexCount = 0;
faceIndices.Dispose();
faceIndicesCount = 0;
}
}
}