ShaderMaterial

ShaderMaterial

Overview

ShaderMaterial is a class in Aspose.3D FOSS for Python.

A shader material allows to describe the material by external rendering engine or shader language.

This class declares 7 methods for ShaderMaterial objects in Python programs. Available methods include: __init__, find_property, get_property, get_texture, remove_property, set_property, set_texture. All public members are accessible to any Python application after installing the Aspose.3D FOSS for Python package. Properties: name, techniques.

Properties

NameTypeAccessDescription
namestrRead/WriteGets or sets the name.
techniques``ReadGets the techniques.

Methods

SignatureDescription
__init__()Not implemented in the FOSS edition — throws at runtime. Calls init on this ShaderMaterial instance.
remove_property(property)Not implemented in the FOSS edition — throws at runtime. Calls remove_property(property) on this ShaderMaterial instance.
get_property(property)Not implemented in the FOSS edition — throws at runtime. Calls get_property(property) on this ShaderMaterial instance.
set_property(property, value)Not implemented in the FOSS edition — throws at runtime. Sets the property value.
find_property(property_name: str)'Property'Not implemented in the FOSS edition — throws at runtime. Calls find_property(property_name) on this ShaderMaterial instance.
get_texture(slot_name: str)'TextureBase'Not implemented in the FOSS edition — throws at runtime. Calls get_texture(slot_name) on this ShaderMaterial instance.
set_texture(slot_name: str, texture: 'TextureBase')Not implemented in the FOSS edition — throws at runtime. Sets the texture value.

See Also