class documentation
class PointCloudMaterial(Material3D): (source)
Constructor: PointCloudMaterial(shading_mode, custom_color, point_size, attenuate_by_distance, opacity)
Represents a point cloud material.
Parameters | |
shading | the shading mode to use. Supported values are "height", "intensity", "rgb", and "custom" |
custom | a custom color to use for the point cloud.
This is only used when shading_mode is "custom" |
point | the size of the points in the point cloud |
attenuate | whether to attenuate the point size based on distance from the camera |
opacity | the opacity of the material, in the range [0, 1] |
Method | __init__ |
Undocumented |
Method | as |
Undocumented |
Method | attenuate |
Undocumented |
Method | custom |
Undocumented |
Method | point |
Undocumented |
Method | shading |
Undocumented |
Property | attenuate |
Undocumented |
Property | custom |
Undocumented |
Property | point |
Undocumented |
Property | shading |
Undocumented |
Instance Variable | _attenuate |
Undocumented |
Instance Variable | _custom |
Undocumented |
Instance Variable | _point |
Undocumented |
Instance Variable | _shading |
Undocumented |
Inherited from Material3D
:
Method | opacity |
Undocumented |
Static Method | _from |
Undocumented |
Instance Variable | _opacity |
Undocumented |
Inherited from BaseValidatedDataClass
(via Material3D
):
Method | __eq__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __setattr__ |
Undocumented |
def __init__(self, shading_mode:
ShadingMode
= 'height', custom_color: str
= COLOR_DEFAULT_WHITE, point_size: float
= 1.0, attenuate_by_distance: bool
= False, opacity: float
= 1.0):
(source)
¶
Undocumented