def __init__(self, name, bones, kfBones, frameRate = 20.0): noesis.validateListType(bones, NoeBone) noesis.validateListType(kfBones, NoeKeyFramedBone) self.name = name self.bones = bones self.kfBones = kfBones self.frameRate = frameRate
def setUVs(self, uvList, slot = 0): noesis.validateListType(uvList, NoeVec3) if slot == 0: self.uvs = uvList elif slot == 1: self.lmUVs = uvList else: noesis.doException("Unsupported uv slot")
def setTangents(self, tanList, slot = 0): noesis.validateListType(tanList, NoeMat43) if slot == 0: self.tangents = tanList elif slot == 1: self.lmTangents = tanList else: noesis.doException("Unsupported tangent slot")
def __init__(self, name, bones, numFrames, frameMats, frameRate = 20.0): noesis.validateListType(bones, NoeBone) noesis.validateListType(frameMats, NoeMat43) self.name = name self.bones = bones self.numFrames = numFrames self.frameMats = frameMats self.setFrameRate(frameRate)
def setMeshes(self, meshes): noesis.validateListType(meshes, NoeMesh) self.meshes = meshes
def __init__(self, positions, normals): noesis.validateListType(positions, NoeVec3) noesis.validateListType(normals, NoeVec3) self.positions = positions self.normals = normals
def setUserStreams(self, userStreamList): noesis.validateListType(userStreamList, NoeUserStream) self.userStreams = userStreamList
def setMorphList(self, morphList): noesis.validateListType(morphList, NoeMorphFrame) self.morphList = morphList
def setWeights(self, weightList): noesis.validateListType(weightList, NoeVertWeight) self.weights = weightList
def setColors(self, clrList): noesis.validateListType(clrList, NoeVec4) self.colors = clrList
def setNormals(self, nrmList): noesis.validateListType(nrmList, NoeVec3) self.normals = nrmList
def setPositions(self, posList): noesis.validateListType(posList, NoeVec3) self.positions = posList
def __init__(self, texList, matList): noesis.validateListType(texList, NoeTexture) noesis.validateListType(matList, NoeMaterial) self.matList = matList self.texList = texList
def setBones(self, bones): noesis.validateListType(bones, NoeBone) self.bones = bones