ListBlockVolume Class
Caution
This class is still in pre-release. Its signature may change or it may be removed in future releases.
Extends
Volume composed of an unordered container of unique block locations.
Methods
constructor
new ListBlockVolume(locations: Vector3[])
Creates a new instance of ListBlockVolume.
Parameters
locations: Vector3[]
Initial array of block locations that ListBlockVolume will be constructed with.
Returns ListBlockVolume
add
add(locations: Vector3[]): void
Insert block locations into container.
Parameters
locations: Vector3[]
Array of block locations to be inserted into container.
Important
This function can't be called in read-only mode.
remove
remove(locations: Vector3[]): void
Remove block locations from container.
Parameters
locations: Vector3[]
Array of block locations to be removed from container.
Important
This function can't be called in read-only mode.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for