RaycastResultデータ型
データ型日本語解説は準備中
ひとことで言うと
RaycastResultは、ロブロックス(Roblox)のデータ型です。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Stores results from a raycast operation.
プロパティ(5)
| 名前と書き方 | 説明 |
|---|---|
DistanceRaycastResult.Distance: number | The distance between the ray origin and the intersection point. |
InstanceRaycastResult.Instance: BasePart | The BasePart or Terrain cell that the ray intersected. |
MaterialRaycastResult.Material: Material | The Material at the intersection point. |
PositionRaycastResult.Position: Vector3 | The world space point at which the intersection occurred. |
NormalRaycastResult.Normal: Vector3 | The normal vector of the intersected face. |
英語の説明とメンバーの一覧は、Roblox Creator Documentation(RaycastResult)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。