學習
引擎資料類型
PhysicalProperties

*此內容是使用 AI(Beta 測試版)翻譯,可能含有錯誤。若要以英文檢視此頁面,請按一下這裡


概要
建構子
new(material: Enum.Material)
new(density: number,friction: number,elasticity: number)
new(density: number,friction: number,elasticity: number,frictionWeight: number,elasticityWeight: number)
new(density: number,friction: number,elasticity: number,frictionWeight: number,elasticityWeight: number,acousticAbsorption: number)

API 參考
建構子
new
PhysicalProperties.new(material:Enum.Material)
參數
material:Enum.Material

new
PhysicalProperties.new(
density:number, friction:number, elasticity:number)
參數
density:number
friction:number
elasticity:number

new
PhysicalProperties.new(
density:number, friction:number, elasticity:number, frictionWeight:number, elasticityWeight:number)
參數
density:number
friction:number
elasticity:number
frictionWeight:number
elasticityWeight:number

new
PhysicalProperties.new(
density:number, friction:number, elasticity:number, frictionWeight:number, elasticityWeight:number, acousticAbsorption:number)
參數
density:number
friction:number
elasticity:number
frictionWeight:number
elasticityWeight:number
acousticAbsorption:number

屬性
AcousticAbsorption
PhysicalProperties.AcousticAbsorption:number

Density
PhysicalProperties.Density:number

Friction
PhysicalProperties.Friction:number

Elasticity
PhysicalProperties.Elasticity:number

FrictionWeight
PhysicalProperties.FrictionWeight:number

ElasticityWeight
PhysicalProperties.ElasticityWeight:number

©2026 Roblox Corporation、Roblox、Roblox 標誌及 Powering Imagination 是我們在美國及其他國家地區的部分註冊與未註冊商標。