GeometryServiceクラス
ひとことで言うと
GeometryServiceは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Service containing geometric operations.
クラスの関係
メソッド(8)
| 名前と書き方 | 説明 |
|---|---|
CalculateConstraintsToPreserveGeometryService:CalculateConstraintsToPreserve(source: Instance, destination: Array, options: Dictionary): Array | Returns a table of Class.Constraint|Constraints and Class.Attachment|Attachments which you may choose to preserve, along with their respective parents. |
FragmentAsyncGeometryService:FragmentAsync(part: BasePart, sites: Array, options: Dictionary): Array | Breaks a BasePart into multiple MeshPart instances, according to the pattern of points passed in, by using voronoi decomposition. |
GenerateFragmentSitesGeometryService:GenerateFragmentSites(part: BasePart, options: Dictionary): Array | Provides an array of positions which can easily be passed into FragmentAsync to perform simple types of destruction. |
IntersectAsyncGeometryService:IntersectAsync(part: Instance, parts: Array, options: Dictionary): Array | Creates one or more Class.PartOperation|PartOperations or Class.MeshPart|MeshParts from the intersecting geometry of multiple parts. |
SubtractAsyncGeometryService:SubtractAsync(part: Instance, parts: Array, options: Dictionary): Array | Creates one or more Class.PartOperation|PartOperations or Class.MeshPart|MeshParts from one part minus the space occupied by other parts. |
SplitApartAsyncGeometryService:SplitApartAsync(parts: Array, options: Dictionary): Array | Splits each PartOperation or MeshPart into one part per disconnected solid region. |
SweepPartAsyncGeometryService:SweepPartAsync(part: BasePart, cframes: Array, options: Dictionary): MeshPart | Creates a MeshPart which has the shape of the input part stretched/dragged through the given set of CFrame positions. |
UnionAsyncGeometryService:UnionAsync(part: Instance, parts: Array, options: Dictionary): Array | Creates one or more Class.PartOperation|PartOperations or Class.MeshPart|MeshParts from one part plus the space occupied by other parts. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(GeometryService)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。