The option for build the primitive mesh, set it before you call onLoaded.
The type of the primitive mesh, set it before you call onLoaded.
The index of the joint buffer of all sub meshes in the joint map buffers
itself
The new struct
The new data
Sub mesh index
Attribute name
The target array buffer
Byte distance between two attributes in the target buffer
The offset of the first attribute in the target buffer
Return false if failed to access attribute, return true otherwise.
Sub mesh index
The target output array
Return false if failed to access the indices data, return true otherwise.
itself
Construct the primitive mesh with type
and info
.
Sub mesh index
Attribute name
Return null if not found or can't read, otherwise, will create a large enough typed array to contain all data of the attribute, the array type will match the data type of the attribute.
Sub mesh index
Return null if not found or can't read, otherwise, will create a large enough typed array to contain all indices data, the array type will use the corresponding stride size.
Mesh creation information including struct and data
应 AssetDB 要求提供这个方法。 返回一个序列化后的对象
The other mesh to be validated
应 AssetDB 要求提供这个方法。
Generated using TypeDoc
Basic primitive mesh, this can be generate some primitive mesh at runtime.