Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Latest commit

 

History

History
42 lines (34 loc) · 1.74 KB

MaterialProperties.md

File metadata and controls

42 lines (34 loc) · 1.74 KB

MaterialProperties

Properties

Name Type Description Notes
color object [optional]
color_tex ColorTex [optional]
roughness float [optional] [default to 0.0]
roughness_tex RoughnessTex [optional]
metalness float [optional] [default to 0.0]
metalness_tex MetalnessTex [optional]
normal_tex NormalTex [optional]
normaltilt_iar float [optional] [default to 1.0]
specular float [optional] [default to 0.0]
albedo_color object [optional]
subsurface_color object [optional]
radiation_length float [optional] [default to 0.0]
light_emission float [optional] [default to 0.0]
refraction_index object [optional]
flags Flags [optional]

Example

from dream3d.models.material_properties import MaterialProperties

# TODO update the JSON string below
json = "{}"
# create an instance of MaterialProperties from a JSON string
material_properties_instance = MaterialProperties.from_json(json)
# print the JSON string representation of the object
print MaterialProperties.to_json()

# convert the object into a dict
material_properties_dict = material_properties_instance.to_dict()
# create an instance of MaterialProperties from a dict
material_properties_form_dict = material_properties.from_dict(material_properties_dict)

[Back to Model list] [Back to API list] [Back to README]