PartSettings
-
class
cee.geo.PartSettings() PartSettings defines properties that control how the part is rendered and behaves.
Index
Accessors
Accessors
-
cee.geo.PartSettings.color() - get color():
Color3LikeThe color of the part. Note that the returned color cannot be modified.
Returns:
Color3Likeset color(color:Color3Like): voidParameters
color:Color3LikeReturns: void
-
cee.geo.PartSettings.eyeLift() - get eyeLift():
EyeLiftThe eye lift mode to use for this part
Returns:
EyeLiftset eyeLift(mode:EyeLift): voidParameters
mode:EyeLiftReturns: void
-
cee.geo.PartSettings.highlight() - get highlight(): boolean
Whether the part should be highlighted.
Returns: boolean
set highlight(highlight: boolean): voidParameters
highlight: booleanReturns: void
-
cee.geo.PartSettings.intersectable() - get intersectable(): boolean
Specifies if the part should be considered by picking (
rayIntersect()) or notReturns: boolean
set intersectable(intersectable: boolean): voidParameters
intersectable: booleanReturns: void
-
cee.geo.PartSettings.lineWidth() - get lineWidth(): number
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.
Returns: number
set lineWidth(lineWidth: number): voidParameters
lineWidth: numberReturns: void
-
cee.geo.PartSettings.opacity() - get opacity(): number
The opacity of the part.
1.0 is fully opaque, 0.0 is fully transparent (invisible).
Returns: number
set opacity(opacity: number): voidParameters
opacity: numberReturns: void
-
cee.geo.PartSettings.polygonOffset() - get polygonOffset():
PolygonOffsetThe polygon offset mode to use for this part
Returns:
PolygonOffsetset polygonOffset(mode:PolygonOffset): voidParameters
mode:PolygonOffsetReturns: void
-
cee.geo.PartSettings.specularIntensity() - get specularIntensity(): number
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.
Returns: number
set specularIntensity(intensity: number): voidParameters
intensity: numberReturns: void
-
cee.geo.PartSettings.texture() - get texture():
TextureTexture to use for this part. If no texture is defined, null is returned.
Note that using textures requires that the mesh type is MeshIndexedTriangles and that you have specified texture coordinates in the mesh.
Returns:
Textureset texture(texture:Texture): voidParameters
texture:TextureReturns: void
-
cee.geo.PartSettings.visible() - get visible(): boolean
The visibility of the part
Returns: boolean
set visible(visible: boolean): voidParameters
visible: booleanReturns: void