NormalMap#

class ansys.speos.core.opt_prop.TextureLayer.NormalMap(parent, default_parameters=None, stable_ctr=False)#

Bases: BaseTextureMap

Normal map texture mapping properties.

Parameters:

Overview#

repeat_u

Whether the normal map repeats along the U direction.

repeat_v

Whether the normal map repeats along the V direction.

normal_map_file_uri

URI of the normal map source file.

roughness

Roughness parameter of the normal map.

Import detail#

from ansys.speos.core.opt_prop.TextureLayer import NormalMap

Property detail#

property NormalMap.repeat_u: bool#

Whether the normal map repeats along the U direction.

property NormalMap.repeat_v: bool#

Whether the normal map repeats along the V direction.

property NormalMap.normal_map_file_uri: str | None#

URI of the normal map source file.

property NormalMap.roughness: float | None#

Roughness parameter of the normal map.

Returns:
Optional[float]

Roughness value when a normal map exists, otherwise None.