update virtools export

This commit is contained in:
2023-12-01 23:27:53 +08:00
parent 84b3ace13d
commit 52452a96d5
3 changed files with 172 additions and 21 deletions

View File

@ -24,12 +24,12 @@ class FaceVertexData():
class FaceData():
## @remark List or tuple. List is convenient for adding and removing
mIndices: tuple[FaceVertexData] | list[FaceVertexData]
mIndices: tuple[FaceVertexData, ...] | list[FaceVertexData]
## Face used material slot index
# @remark If material slot is empty, or this face do not use material, set this value to 0.
mMtlIdx: int
def __init__(self, indices: tuple[FaceVertexData] | list[FaceVertexData] = tuple(), mtlidx: int = 0):
def __init__(self, indices: tuple[FaceVertexData, ...] | list[FaceVertexData] = tuple(), mtlidx: int = 0):
self.mIndices = indices
self.mMtlIdx = mtlidx