TextureLayer#

class ansys.speos.core.opt_prop.TextureLayer(opt_prop, name, description='', metadata=None, default_parameters=None)#

Bases: BaseSop

Describes the optical and texture properties of a single texture layer.

Parameters:

Overview#

set_image_texture

Activate Image texture in this texture layer.

set_image_texture_to_none

Deactivate image texture in this texture layer.

set_normal_map_from_image

Activate normal map in this texture layer.

set_normal_map_from_normal_map

Activate normal map in this texture layer.

set_normal_map_to_none

Deactivate normal map in this texture layer.

set_anisotropy_map

Activate anisotropy map in this texture layer.

set_anisotropy_map_to_none

Deactivate anisotropy map in this texture layer.

delete

Delete the SOP template layer from the server and update local state.

image_texture

Texture Properties of the Image Texture.

normal_map

Texture properties of the normal map.

anisotropic_map

Anisotropy map mapping properties.

Import detail#

from ansys.speos.core.opt_prop import TextureLayer

Property detail#

property TextureLayer.image_texture: ImageTexture#

Texture Properties of the Image Texture.

property TextureLayer.normal_map: NormalMap#

Texture properties of the normal map.

property TextureLayer.anisotropic_map: AnisotropicMap#

Anisotropy map mapping properties.

Attribute detail#

Method detail#

TextureLayer.set_image_texture()#

Activate Image texture in this texture layer.

TextureLayer.set_image_texture_to_none()#

Deactivate image texture in this texture layer.

TextureLayer.set_normal_map_from_image()#

Activate normal map in this texture layer.

TextureLayer.set_normal_map_from_normal_map()#

Activate normal map in this texture layer.

TextureLayer.set_normal_map_to_none()#

Deactivate normal map in this texture layer.

TextureLayer.set_anisotropy_map()#

Activate anisotropy map in this texture layer.

TextureLayer.set_anisotropy_map_to_none()#

Deactivate anisotropy map in this texture layer.

TextureLayer.delete()#

Delete the SOP template layer from the server and update local state.

Returns:
ansys.speos.core.opt_prop.TextureLayer

Returns self after deletion.

Classes#

TextureUVMappingOperator

Texture mapping operator for a texture layer.

TextureMappingByData

Texture mapping by data for a texture layer.

BaseTextureMap

Base class for texture mapping properties.

ImageTexture

Image texture mapping properties.

NormalMap

Normal map texture mapping properties.

AnisotropicMap

Anisotropy map texture mapping properties.