mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2024-11-22 13:53:02 +05:30
Added getter functions for mesh header attributes
This commit is contained in:
parent
a8d2cfeb4a
commit
cb96add3f2
@ -342,6 +342,18 @@ class MEShHeader:
|
|||||||
def getbatchno(self):
|
def getbatchno(self):
|
||||||
return self.cstruct.contents.numBatch
|
return self.cstruct.contents.numBatch
|
||||||
|
|
||||||
|
def getnumvertex(self):
|
||||||
|
return self.cstruct.contents.numVertex
|
||||||
|
|
||||||
|
def getunknown(self)
|
||||||
|
return hex(self.cstruct.contents.u)
|
||||||
|
|
||||||
|
def getoffsetbatches(self):
|
||||||
|
return self.cstruct.contents.offsetBatches
|
||||||
|
|
||||||
|
def getflags(self):
|
||||||
|
return self.cstruct.contents.flags
|
||||||
|
|
||||||
class MEsh:
|
class MEsh:
|
||||||
def __init__(self, i, filedata):
|
def __init__(self, i, filedata):
|
||||||
self.cstruct = Mesh()
|
self.cstruct = Mesh()
|
||||||
|
Loading…
Reference in New Issue
Block a user