[0]完全自定义顶点结构和数据填充

比如说我现在的顶点结构
class VertexBuffer
{
    public pos : Laya.Vector3;
    public normal : Laya.Vector3;
    public uv0: Laya.Vector2;
    public tangent : Laya.Vector4;
    public uv1 : Laya.Vector2;
}
我要完全在代码中通过类似地形grid, 填充顶点数据, 要怎么样setVertices setVertexDeclaration?
你们的代码完全没有custom vertex buffer的例子
麻烦哪位大佬完全你们的技术支持文档.
已邀请:

要回复问题请先

商务合作
商务合作