Esempio n. 1
0
 def _threed_attrs(self):
     pos = VECTOR()
     mindist = c_float()
     maxdist = c_float()
     self._call_fmod("FMOD_Reverb_Get3DAttributes", byref(pos), byref(mindist), byref(maxdist))
     return [pos.to_list(), mindist.value, maxdist.value]
Esempio n. 2
0
 def cone_orientation(self, ori):
     vec = VECTOR.from_list(ori)
     ckresult(_dll.FMOD_Channel_Set3DConeOrientation(self._ptr, vec))
Esempio n. 3
0
 def _threed_attrs(self, attrs):
     pos = VECTOR.from_list(attrs[0])
     vel = VECTOR.from_list(attrs[1])
     ckresult(_dll.FMOD_Channel_Set3DAttributes(self._ptr, byref(pos), byref(vel)))
Esempio n. 4
0
 def cone_orientation(self):
     ori = VECTOR()
     ckresult(_dll.FMOD_Channel_Get3DConeOrientation(self._ptr, byref(ori)))
     return ori.to_list()
Esempio n. 5
0
 def _threed_attrs(self):
     pos = VECTOR()
     vel = VECTOR()
     ckresult(_dll.FMOD_Channel_Get3DAttributes(self._ptr, byref(pos), byref(vel)))
     return [pos.to_list(), vel.to_list()]