setWorldUnitsPerMeter
此内容尚不支持你的语言。
setWorldUnitsPerMeter(
value):void
Defined in: sdk/src/ecs/worldUnits.ts:36
Set the project’s units per metre. Called before a scene loads (by the runtime from the project’s config, by the editor when a project opens or the setting changes), so the defaults it fills in are the project’s.
Parameters
Section titled “Parameters”number
Returns
Section titled “Returns”void