load_vertices_from_bytes method

load_vertices_from_bytes

Load vertices from bytes, the length of bytes must be an integer multiple of vertex size.

def load_vertices_from_bytes(self, vertices_in_bytes):
    ...
ParameterTypeDescription
vertices_in_bytesbytes

Exceptions

ExceptionDescription
ArgumentNullException
ArgumentException

Example

The following code shows how to create an empty TriMesh and manually load vertices from raw bytes.

See Also