TextureMapping
Canonical path: NemAll_Python_BasisElements.TextureMapping
Texture mapping property class
FromSurfaceMapping
Get the properties from the surface mapping object
Parameters:
-
mapping
(object
) –Surface mapping
__eq__
__eq__(props: TextureMapping) -> bool
Compare operator
Parameters:
-
props
(TextureMapping
) –Properties to compare
Returns:
-
bool
–Properties a equal: true/false
__init__
overloaded
Initialize
__init__(
mappingType: TextureMappingType,
mappingAngle: float,
scaleX: float,
scaleY: float,
offsetX: float,
offsetY: float,
phongAngle: float,
refFace: int,
refEdge: int,
)
Constructor
Parameters:
-
mappingType
(TextureMappingType
) –Mapping type
-
mappingAngle
(float
) –Mapping angle
-
scaleX
(float
) –Mapping scale in X-axis
-
scaleY
(float
) –Mapping scale in Y-axis
-
offsetX
(float
) –X offset
-
offsetY
(float
) –Y offset
-
phongAngle
(float
) –Angle for Phong light model
-
refFace
(int
) –Reference face
-
refEdge
(int
) –Reference edge
__init__(
mappingType: TextureMappingType,
mappingAngle: float,
scaleX: float,
scaleY: float,
offsetX: float,
offsetY: float,
phongAngle: float,
refFace: int,
refEdge: int,
uvCoords: VecDoubleList,
)
Constructor
Parameters:
-
mappingType
(TextureMappingType
) –Mapping type
-
mappingAngle
(float
) –Mapping angle
-
scaleX
(float
) –Mapping scale in X-axis
-
scaleY
(float
) –Mapping scale in Y-axis
-
offsetX
(float
) –X offset
-
offsetY
(float
) –Y offset
-
phongAngle
(float
) –Angle for Phong light model
-
refFace
(int
) –Reference face
-
refEdge
(int
) –Reference edge
-
uvCoords
(VecDoubleList
) –UV coordinates
__init__(uvCoords: VecDoubleList)
__init__(element: TextureMapping)
Placeholder