VoxelBuffer
This class is not replicated. Its interface does not cross the network boundary.
This class is not creatable. Instances of this class cannot be created with Instance.new.
| Memory category | Instances |
|---|
Member index 8
| History | Member | |
|---|---|---|
| 710 | ClearAsync(sizeInVoxels: Vector3?): null | |
| 710 | DrawBufferAsync(cframe: CFrame, scale: float, source: VoxelBuffer, mergeConfig: Dictionary): null | |
| 710 | FromHeightmapAsync(heightMap: buffer, width: int, height: int, heightMapRect: Rect, offset: float, scale: float, material: int): null | |
| 710 | GetSizeInVoxels(): Vector3 | |
| 710 | NormalizeAsync(): null | |
| 710 | ReadVoxels(channelIds: Array): Dictionary | |
| 710 | UnclampAsync(): null | |
| 710 | WriteVoxels(channels: Dictionary): null | |
| inherited from Object | ||
| 647 | ClassName: string | |
| 647 | className: string | |
| 647 | GetPropertyChangedSignal(property: string): RBXScriptSignal | |
| 647 | IsA(className: string): bool | |
| 650 | isA(className: string): bool | |
| 647 | Changed(property: string) | |
Description
History 9
- 710 Add WriteVoxels
- 710 Add UnclampAsync
- 710 Add ReadVoxels
- 710 Add NormalizeAsync
- 710 Add GetSizeInVoxels
- 710 Add FromHeightmapAsync
- 710 Add DrawBufferAsync
- 710 Add ClearAsync
- 710 Add VoxelBuffer
Members 8
ClearAsync
| Parameters (1) | ||
|---|---|---|
| sizeInVoxels | Vector3? | |
| Returns (1) | ||
| null | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 710 Add ClearAsync
DrawBufferAsync
| Parameters (4) | ||
|---|---|---|
| cframe | CFrame | |
| scale | float | |
| source | VoxelBuffer | |
| mergeConfig | Dictionary | |
| Returns (1) | ||
| null | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 710 Add DrawBufferAsync
FromHeightmapAsync
| Parameters (7) | ||
|---|---|---|
| heightMap | buffer | |
| width | int | |
| height | int | |
| heightMapRect | Rect | |
| offset | float | |
| scale | float | |
| material | int | |
| Returns (1) | ||
| null | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
GetSizeInVoxels
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| Vector3 | ||
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 710 Add GetSizeInVoxels
NormalizeAsync
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| null | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 710 Add NormalizeAsync
ReadVoxels
| Parameters (1) | ||
|---|---|---|
| channelIds | Array | |
| Returns (1) | ||
| Dictionary | ||
This function has a custom internal state. It may behave in a non-standard way.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 710 Add ReadVoxels
UnclampAsync
| Parameters (0) | ||
|---|---|---|
| No parameters. | ||
| Returns (1) | ||
| null | ||
This function yields. It will block the calling thread until completion.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 710 Add UnclampAsync
WriteVoxels
| Parameters (1) | ||
|---|---|---|
| channels | Dictionary | |
| Returns (1) | ||
| null | ||
This function has a custom internal state. It may behave in a non-standard way.
| Security | RobloxScriptSecurity |
|---|---|
| Thread safety | Unsafe |
History 1
- 710 Add WriteVoxels