MaxPlus Python API Reference
MappingChannel Class Reference
+ Inheritance diagram for MappingChannel:

Public Member Functions

def GetChannelId (self)
 
def GetNumFaces (self)
 
def GetNumTextureVertices (self)
 
def GetTextureFace (self, *args)
 
def GetTextureFaceVertex (self, *args)
 
def GetTextureFaceVertexIndex (self, *args)
 
def GetTextureFaceVertices (self, *args)
 
def GetTextureVertex (self, *args)
 
def GetTextureVertexFloat (self, *args)
 
def IsEnabled (self)
 
def SetEnabled (self, b=True)
 
def SetNumTextureVertices (self, *args)
 
def SetTextureFace (self, *args)
 
def SetTextureVertex (self, *args)
 

Static Public Attributes

 ChannelId = _swig_property(GetChannelId)
 
 Enabled = _swig_property(IsEnabled, SetEnabled)
 
 NumFaces = _swig_property(GetNumFaces)
 
 NumTextureVertices = _swig_property(GetNumTextureVertices, SetNumTextureVertices)
 
 TextureFaces = _swig_property(lambda self: (self.GetTextureFace(i) for i in xrange(self.GetNumFaces())))
 
 TextureFaceVertices = _swig_property(lambda self: (self.GetTextureFaceVertices(i) for i in xrange(self.GetNumFaces())))
 
 TextureVertices = _swig_property(lambda self: (self.GetTextureVertex(i) for i in xrange(self.GetNumTextureVertices())))
 
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

An array of Point3 data points (called texture vertexes) and an array of TVFace structures used for texture coordinates or color-per-vertex data.

Member Function Documentation

◆ GetChannelId()

def GetChannelId (   self)
GetChannelId(MappingChannel self) -> int

◆ GetNumFaces()

def GetNumFaces (   self)
GetNumFaces(MappingChannel self) -> int

◆ GetNumTextureVertices()

def GetNumTextureVertices (   self)
GetNumTextureVertices(MappingChannel self) -> int

◆ GetTextureFace()

def GetTextureFace (   self,
args 
)
GetTextureFace(MappingChannel self, int face) -> TVFace

◆ GetTextureFaceVertex()

def GetTextureFaceVertex (   self,
args 
)
GetTextureFaceVertex(MappingChannel self, int face, int i) -> Point3

◆ GetTextureFaceVertexIndex()

def GetTextureFaceVertexIndex (   self,
args 
)
GetTextureFaceVertexIndex(MappingChannel self, int face, int index) -> int

◆ GetTextureFaceVertices()

def GetTextureFaceVertices (   self,
args 
)
GetTextureFaceVertices(MappingChannel self, int face) -> FacePoints

◆ GetTextureVertex()

def GetTextureVertex (   self,
args 
)
GetTextureVertex(MappingChannel self, int n) -> Point3

◆ GetTextureVertexFloat()

def GetTextureVertexFloat (   self,
args 
)
GetTextureVertexFloat(MappingChannel self, int n, int element) -> float

◆ IsEnabled()

def IsEnabled (   self)
IsEnabled(MappingChannel self) -> bool

◆ SetEnabled()

def SetEnabled (   self,
  b = True 
)
SetEnabled(MappingChannel self, bool b=True)
SetEnabled(MappingChannel self)

◆ SetNumTextureVertices()

def SetNumTextureVertices (   self,
args 
)
SetNumTextureVertices(MappingChannel self, int n)

◆ SetTextureFace()

def SetTextureFace (   self,
args 
)
SetTextureFace(MappingChannel self, int face, int a, int b, int c)
SetTextureFace(MappingChannel self, int face, TVFace f)

◆ SetTextureVertex()

def SetTextureVertex (   self,
args 
)
SetTextureVertex(MappingChannel self, int n, Point3 pt)
SetTextureVertex(MappingChannel self, int n, float x, float y, float z)