rebar
Toggle table of contents
1.0.0-SNAPSHOT
jvm
Platform filter
jvm
Switch theme
Search in API
rebar
rebar
/
io.github.pylonmc.rebar.culling
/
CullingPreset
Culling
Preset
@
JvmRecord
data
class
CullingPreset
(
val
index
:
Int
,
val
id
:
String
,
val
material
:
Material
,
val
updateInterval
:
Int
,
val
hiddenInterval
:
Int
,
val
visibleInterval
:
Int
,
val
alwaysShowRadius
:
Int
,
val
cullRadius
:
Int
,
val
maxOccludingCount
:
Int
)
:
Record
(
source
)
Members
Constructors
Culling
Preset
Link copied to clipboard
constructor
(
index
:
Int
,
id
:
String
,
material
:
Material
,
updateInterval
:
Int
,
hiddenInterval
:
Int
,
visibleInterval
:
Int
,
alwaysShowRadius
:
Int
,
cullRadius
:
Int
,
maxOccludingCount
:
Int
)
Properties
always
Show
Radius
Link copied to clipboard
val
alwaysShowRadius
:
Int
cull
Radius
Link copied to clipboard
val
cullRadius
:
Int
hidden
Interval
Link copied to clipboard
val
hiddenInterval
:
Int
id
Link copied to clipboard
val
id
:
String
index
Link copied to clipboard
val
index
:
Int
material
Link copied to clipboard
val
material
:
Material
max
Occluding
Count
Link copied to clipboard
val
maxOccludingCount
:
Int
update
Interval
Link copied to clipboard
val
updateInterval
:
Int
visible
Interval
Link copied to clipboard
val
visibleInterval
:
Int
Functions
assert
Valid
Link copied to clipboard
fun
assertValid
(
)
matches
Link copied to clipboard
fun
matches
(
config
:
PlayerCullingConfig
)
:
Boolean
to
Player
Config
Link copied to clipboard
fun
toPlayerConfig
(
)
:
PlayerCullingConfig