Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PartSettings

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

Hierarchy

  • PartSettings

Index

Accessors

color

color: Color3Like

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

eyeLift

eyeLift: EyeLift

The eye lift mode to use for this part

highlight

highlight: boolean

Whether the part should be highlighted.

intersectable

intersectable: boolean

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

lineWidth

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.

opacity

opacity: number

The opacity of the part.

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

polygonOffset

polygonOffset: PolygonOffset

The polygon offset mode to use for this part

specularIntensity

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.

texture

texture: 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.

visible

visible: boolean

The visibility of the part

Generated using TypeDoc