PartSettings

class cee.geo.PartSettings()

PartSettings defines properties that control how the part is rendered and behaves.


Accessors

cee.geo.PartSettings.color

The color of the part. Note that the returned color cannot be modified.

cee.geo.PartSettings.eyeLift

The eye lift mode to use for this part

cee.geo.PartSettings.highlight

Whether the part should be highlighted.

cee.geo.PartSettings.intersectable

Specifies if the part should be considered by picking (rayIntersect()) or not

cee.geo.PartSettings.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.

cee.geo.PartSettings.opacity

The opacity of the part.

1.0 is fully opaque, 0.0 is fully transparent (invisible).

cee.geo.PartSettings.polygonOffset

The polygon offset mode to use for this part

cee.geo.PartSettings.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.

cee.geo.PartSettings.texture

Texture to use for this part.

Note that using textures requires that the mesh type is MeshIndexedTriangels and that you have specified texture coordinates in the mesh.

cee.geo.PartSettings.visible

The visibility of the part