rojo/.cursor/rules/roblox/reference/engine/enums/RenderFidelity.yaml
2026-02-02 12:08:47 -06:00

65 lines
1.9 KiB
YAML

# This file is automatically generated. Please don't edit it manually.
# To submit a bug report on the content, see
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
name: RenderFidelity
type: enum
summary: |
Determines the level of detail that solid modeled and mesh parts will be shown
in.
description: |
This enum determines the level of detail that
[meshes](../../../parts/meshes.md) and
[solid modeled](../../../parts/solid-modeling.md) parts will be shown in. The
default is **Automatic**, meaning the object's detail is based on its distance
from the camera as outlined in the following table.
<table>
<thead>
<tr>
<th>Distance From Camera</th>
<th>Render Fidelity</th>
</tr>
</thead>
<tbody>
<tr>
<td>Less than 250 studs</td>
<td>Highest</td>
</tr>
<tr>
<td>250 to 500 studs</td>
<td>Medium</td>
</tr>
<tr>
<td>500 or more studs</td>
<td>Lowest</td>
</tr>
</tbody>
</table>
code_samples: []
tags: []
deprecation_message: ''
items:
- name: Automatic
summary: |
Object's level of detail is dynamically controlled by its distance from
the camera (see table above).
value: 0
tags: []
deprecation_message: ''
- name: Precise
summary: |
Object is rendered in the highest fidelity regardless of its distance from
the camera.
value: 1
tags: []
deprecation_message: ''
- name: Performance
summary: |
Push performance as much as possible, trying to maintain quality if
possible, and discarding appearance if that's necessary to reach
performance. This means that the performance will always be excellent, but
mesh visuals may be affected negatively.
value: 2
tags: []
deprecation_message: ''