Texture¶
Declaration¶
- class declaracad.occ.materials.Texture[source]¶
Bases:
Atom
- Attributes:
- origin
- path
- repeat
- scale
Methods
freeze
Freeze the atom to prevent further modifications to its attributes.
get_member
Get the named member for the atom.
has_observer
Get whether the atom has the given observer for a given topic.
has_observers
Get whether the atom has observers for a given topic.
members
()Get the members dictionary for the type.
notifications_enabled
Get whether notification is enabled for the atom.
notify
Call the registered observers for a given topic with positional and keyword arguments.
observe
Register an observer callback to observe changes on the given topic(s).
set_notifications_enabled
Enable or disable notifications for the atom.
suppress_notifications
()Disable member notifications within in a context.
unobserve
Unregister an observer callback for the given topic(s).
- origin¶
If given, adjust th eorigin to the u and v dimension
- path¶
Path to the texture file or image
- repeat¶
If given, repeat in the u and v dimension
- scale¶
If given, scale in the u and v dimension
No implementation found