BaseTextureMap#
- class ansys.speos.core.opt_prop.TextureLayer.BaseTextureMap(parent, texture_type, stable_ctr=False)#
Base class for texture mapping properties.
- Parameters:
parent (TextureLayer)
texture_type (ansys.speos.core.generic.parameters.TextureTypes)
Overview#
Set cylindrical mapping for the texture layer. |
|
Set planar mapping for the texture layer. |
|
Set cubic mapping for the texture layer. |
|
Set spherical mapping for the texture layer. |
|
Set mapping by vertices data index for the texture layer. |
Texture mapping properties for the texture layer. |
Import detail#
from ansys.speos.core.opt_prop.TextureLayer import BaseTextureMap
Property detail#
- property BaseTextureMap.uv_mapping: TextureLayer | TextureLayer | None#
Texture mapping properties for the texture layer.
Method detail#
- BaseTextureMap.set_uv_mapping_cylindrical()#
Set cylindrical mapping for the texture layer.
- Returns:
ansys.speos.core.opt_prop.TextureLayer.TextureUVMappingOperatorThe mapping operator for the cylindrical mapping.
- BaseTextureMap.set_uv_mapping_planar()#
Set planar mapping for the texture layer.
- BaseTextureMap.set_uv_mapping_cubic()#
Set cubic mapping for the texture layer.
- BaseTextureMap.set_uv_mapping_spherical()#
Set spherical mapping for the texture layer.
- Returns:
ansys.speos.core.opt_prop.TextureLayer.TextureUVMappingOperatorThe mapping operator for the spherical mapping.
- BaseTextureMap.set_uv_mapping_by_data()#
Set mapping by vertices data index for the texture layer.