PartSettings
- class cee.geo.PartSettings()
PartSettings defines properties that control how the part is rendered and behaves.
Accessors
color
eyeLift
highlight
intersectable
lineWidth
opacity
polygonOffset
specularIntensity
texture
visible
Accessors
- cee.geo.color()
The color of the part. Note that the returned color cannot be modified.
- Return type:
Color3Like
- cee.geo.color(color)
- Arguments:
color (
Color3Like
) – None
- Return type:
void
- cee.geo.eyeLift()
The eye lift mode to use for this part
- Return type:
EyeLift
- cee.geo.eyeLift(mode)
- Arguments:
mode (
EyeLift
) – None
- Return type:
void
- cee.geo.highlight()
Whether the part should be highlighted.
- Return type:
boolean
- cee.geo.highlight(highlight)
- Arguments:
highlight (
boolean
) – None
- Return type:
void
- cee.geo.intersectable()
Specifies if the part should be considered by picking (
rayIntersect()
) or not- Return type:
boolean
- cee.geo.intersectable(intersectable)
- Arguments:
intersectable (
boolean
) – None
- Return type:
void
- cee.geo.lineWidth()
The line width in pixels for line meshes
Note that setting the width to values greater than 1, will trigger generation and rendering of thick lines which can significantly reduce update and rendering performance.
- Return type:
number
- cee.geo.lineWidth(lineWidth)
- Arguments:
lineWidth (
number
) – None
- Return type:
void
- cee.geo.opacity()
The opacity of the part.
1.0 is fully opaque, 0.0 is fully transparent (invisible).
- Return type:
number
- cee.geo.opacity(opacity)
- Arguments:
opacity (
number
) – None
- Return type:
void
- cee.geo.polygonOffset()
The polygon offset mode to use for this part
- Return type:
PolygonOffset
- cee.geo.polygonOffset(mode)
- Arguments:
mode (
PolygonOffset
) – None
- Return type:
void
- cee.geo.specularIntensity()
The intensity of the specular highlight of the part
Note that the part’s default value for specularIntensity is undefined in which case the global default specular intensity will be used. Specify this value to override the default setting.
- Return type:
number
- cee.geo.specularIntensity(intensity)
- Arguments:
intensity (
number
) – None
- Return type:
void
- cee.geo.texture()
Texture to use for this part.
Note that using textures requires that the mesh type is MeshIndexedTriangles and that you have specified texture coordinates in the mesh.
- Return type:
Texture
- cee.geo.texture(texture)
- Arguments:
texture (
Texture
) – None
- Return type:
void
- cee.geo.visible()
The visibility of the part
- Return type:
boolean
- cee.geo.visible(visible)
- Arguments:
visible (
boolean
) – None
- Return type:
void