Skip to content

Class · inherits TriangleMeshPart

PartOperation

Official docs ↗

An abstract class that all parts based on solid modeling inherit from.

About PartOperation

An abstract class that all parts based on solid modeling inherit from.

Properties 4

  • RenderFidelity: RenderFidelityThe level of detail used to render the solid modeled part.

    This property determines the level of detail that the solid modeled part will be shown in. It can be set to the possible values of the RenderFidelity enum except for Performance.

    The default value is Automatic, meaning the part's detail is based on its distance from the camera as outlined in the following table.

  • SmoothingAngle: floatAn angle in degrees which affects the smooth shading of a solid modeled part.

    This property represents an angle in degrees for a threshold value between face normals on a solid modeled part. If the normal difference is less than the value, normals will be adjusted to smooth the difference. While a value between 30 and 70 degrees usually produces a good result, values between 90 and 180 are not recommended as they may cause a "shadowing" effect on unions with sharp edges.

    Note that smoothing does not affect the normals between different materials or different colors.

  • TriangleCount: intThe number of polygons in this solid model.
  • UsePartColor: booleanSets whether the PartOperation can be recolored using inherited color properties.

    Sets whether the PartOperation can be recolored using the BasePart.Color or BasePart.BrickColor properties. When true, the entire union will be colored as per Color or BrickColor. When false, the parts in the union will maintain their original colors from before the onion operation was performed.

Methods 1

PartOperation also has every member of TriangleMeshPart. Deprecated and Roblox-only members are hidden.

Reference text from the Roblox Creator Documentation, licensed CC BY 4.0, reorganized by rbxtoolshub.com · Studio 0.743.0.7431133.