Roblox Api Workspace
The streamingenabled property determines whether game content streaming is enabled for the place.
Roblox api workspace. Syntax languages archive faq tools night mode api scraping api privacy statement cookies policy terms of. Information about the workspace class in the roblox lua api. Workspace a global variable gameworkspace a property of the datamodel gamegetserviceworkspace workspace is a service notes. This function takes an optional maxparts parameter default 20 which limits the number of baseparts that can be returnedonce this number has been reached the search for baseparts will stopthis means some baseparts may not be returned even if they are within the datatyperegion3.
Georgev3rm dec 2nd 2017 1677 never not a member of pastebin yet. Roblox delete everything in workspace. For a detailed explanation of game content streaming best practices and implementation notes see articlescontent streaminggame content streaming. An object of this class cannot be created with instancenew.
This property is not scriptable and therefore must be set on the workspace object in studio. This means that the area that is inspected by the function may be larger than the datatyperegion3. The axis aligned bounding box can be seen in roblox studio when a part is selected. This function returns the first basepart intersecting with the given datatyperay that is in or is a descendant of an object in the given white list.
It has no actual physical boundaries but there are technical boundaries as heading too far away from the origin 0 0 0 will cause floating point inaccuracies to occur and rendering will quite literally get shaky. Workspace on devhub summary. It is a singleton that may be acquired with getservice. The workspace class represents the physical area in which a game mostly takes place.
Returns an array of baseparts in the given datatyperegion3. This class is a service. This class is not creatable.