RenderSettings
The RenderSettings is a singleton class, which lets developers debug components of Roblox's graphics engine.
It can be found under the Rendering tab in Roblox Studio's settings menu.
Sommario
Proprietà
Sets the starting quality level of the framerate manager, when RenderSettings.EnableFRM is set to true.
When set to true, all scene updates will be given an unlimited budget, regardless of how computationally expensive it may be.
Sets the graphics quality level in Roblox Studio, when RenderSettings.EnableFRM is set to false.
Toggles the enabled state of the framerate manager.
Sets whether materials should be generated per part, or per unique appearance in Roblox's obj exporter.
Specifies the behavior of the framerate manager.
The graphics API that Roblox will use on startup.
The size in bytes of the mesh cache. Defaults to 32 MBs.
Studio only. Used to visually verify the quality of MeshParts at lower level of detail at close range.
If RenderSettings.EnableFRM is set to true, this property controls the quality level in Roblox Studio.
When set to true, Roblox Studio will automatically reload changes that are made to files in Roblox's content folder.
When set to true, a wireframe of polygons will be shown on all PartOperation objects.
If set to true, renders bounding boxes around each individual rendered entity in the scene.
Metodi
Returns the maximum quality level.
Proprietà
AutoFRMLevel
Sets the starting quality level of the framerate manager, when RenderSettings.EnableFRM is set to true.
EagerBulkExecution
When set to true, all scene updates will be given an unlimited budget, regardless of how computationally expensive it may be. This ensures each frame will look as it should, at the cost of a more unstable frame rate.
This is used when rendering game thumbnails.
EditQualityLevel
Sets the graphics quality level in Roblox Studio, when RenderSettings.EnableFRM is set to false.
Enable VR Mode
ExportMergeByMaterial
Sets whether materials should be generated per part, or per unique appearance in Roblox's obj exporter.
MeshPartDetailLevel
Determines the mode for the selection of detail levels for mesh parts. For a good balance between performance and fidelity, this should be set to Enum.MeshPartDetailLevel.DistanceBased (default), which is what the client uses.
Note that the MeshPart.RenderFidelity needs to be set to Enum.RenderFidelity.Automatic for this to work. If you set it to Enum.RenderFidelity.Precise, you will always see the higher resolution version and the Enum.MeshPartDetailLevel value will be ignored for that MeshPart.
QualityLevel
If RenderSettings.EnableFRM is set to true, this property controls the quality level in Roblox Studio.
ReloadAssets
When set to true, Roblox Studio will automatically reload changes that are made to files in Roblox's content folder.
RenderCSGTrianglesDebug
When set to true, a wireframe of polygons will be shown on all PartOperation objects.
ShowBoundingBoxes
If set to true, renders bounding boxes around each individual rendered entity in the scene.