_texture
Module Contents
Classes
An abstract texture for geometric models. |
- class Texture
An abstract texture for geometric models.
- reference: simulation.scene.geometry.textures._texture_reference.TextureReference | None
Reference the specific type of texture. If no reference is given, the base_color will be used on the Object.
- base_color: simulation.scene._color.Color
Determines the base color of a material and its alpha value.
- primary_color: simulation.scene._color.Color
Determines the primary color of the texture.
- secondary_color: simulation.scene._color.Color
facilitates more complex textures that use two colors.
- map_type: simulation.scene.geometry.textures._map_type.MapType
Represents how the texture is mapped to an object.
- repeat: tuple[int, int]
Allows you to set how often a texture should be repeated across the x and y axis (Only for 2d maps).
- size: tuple[int, int]
Allows to set the size of a texture. The higher the size, the higher the resolution
- specular: float
Specular ranges between [0, 1].
- shininess: float
Shininess ranges between [0, 1].
- reflectance: float
Reflectance ranges between [0, 1].
- emission: float
Allows Objects to emit light [0, inf).