mirror of
https://notabug.org/scuti/lib3ddevil1
synced 2026-10-20 22:07:58 +05:30
Added get functions for bones
This commit is contained in:
1 parent
c45c8d758a
commit
7835a8d90d
1 file changed
+8
@@ -379,6 +379,14 @@ class MEsh:
|
||||
length = self.cstruct.b.contents.bd.contents.numVertex
|
||||
return self.cstruct.b.contents.vd.u[:length]
|
||||
|
||||
def getboneindexes(self):
|
||||
length = self.cstruct.b.contents.bd.contents.numVertex
|
||||
return self.cstruct.b.contents.vd.bi[:length]
|
||||
|
||||
def getboneweights(self):
|
||||
length = self.cstruct.b.contents.bd.contents.numVertex
|
||||
return self.cstruct.b.contents.vd.bw[:length]
|
||||
|
||||
#--------------------------------------+
|
||||
# Regular Python
|
||||
#--------------------------------------+
|
||||
|
||||
Reference in new issue
Block a user