大约有 256 项符合查询结果, 库内数据总量为 30,902 项。 (搜索耗时: 0.0045 秒)
...载。 group?: string; //分组,方便对资源进行管理。 cache?: boolean; //是否缓存 noRetry?: boolean; //是否重新尝试加载 silent?: boolean; //是否提示加载失败 useWorkerLoader?: boolean; //(default = false)是否使用worker加载(只针对IMAGE类型和ATLAS类型,...
来源: Laya3.0_文档 发布时间: 20240910
...本类型 "string" 也可以用String来标记该类型 布尔值类型 "boolean" 也可以用Boolean来标记该类型 整数类型 "int" 等价于 { type: Number, fractionDigits: 0 } 正整数类型 "uint" 等价于 { type: Number, fractionDigits: 0 , min: 0 } 多行字符串文本类型 "text" ...
来源: Laya3.0_文档 发布时间: 20250103
...ned in laya/display/Node.ts:62 节点标签 Accessors active get active(): boolean set active(value: boolean): void Defined in laya/display/Node.ts:655 获取自身是否激活。 Returns boolean 自身是否激活。 Defined in laya/display/Node.ts:663 设置是否激活。 Parameters value: boolea...
来源: Laya3.0_api 发布时间: 20231115
...null, progress:Handler = null, type:String = null, priority:int = 1, cache:Boolean = true, group:String = null, ignoreCache:Boolean = false):LoaderManager { 你可以根据加载回调进行相应的判断,加载失败后的处理! 2018-05-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20180502
...nTriangle PointinTriangle(A: Vector3, B: Vector3, C: Vector3, P: Vector3): boolean Defined in laya/d3/utils/Utils3D.ts:179 判断P点是否在ABC组成的三角形中 https://mathworld.wolfram.com/BarycentricCoordinates.html Parameters A: Vector3 B: Vector3 C: Vector3 P: Vector3 Returns boolean Stat...
来源: Laya3.0_api 发布时间: 20231115
...Defined in laya/components/Component.ts:36 Optional _singleton _singleton: boolean = true Inherited from Component._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Node Inherited from Component.owner Defined in l...
来源: Laya3.0_api 发布时间: 20231115
...。 Returns number 点积。 Static equals equals(a: Vector2, b: Vector2): boolean Defined in laya/maths/Vector2.ts:55 判断两个二维向量是否相等。 Parameters a: Vector2 三维向量。 b: Vector2 三维向量。 Returns boolean 是否相等。 Static normalize normalize(s: Vector2, out: ...
来源: Laya3.0_api 发布时间: 20231115
...tiate load Constructors constructor new Sprite3D(name?: string, isStatic?: boolean): Sprite3D Overrides Node.constructor Defined in laya/d3/core/Sprite3D.ts:142 创建一个 Sprite3D 实例。 Parameters Default value name: string = null 精灵名称。 Default value isStatic: boolean = false 是否...
来源: Laya3.0_api 发布时间: 20231115
...in laya/resource/Resource.ts:97 destroyedImmediately destroyedImmediately: boolean Defined in laya/resource/Resource.ts:112 是否在引用计数为0的时候立马删除他 Optional lock lock: boolean Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机...
来源: Laya3.0_api 发布时间: 20231115
...,选择其中一个动画名称进行播放。 Animation autoPlay : Boolean[write-only] 是否自动播放,默认为false。如果设置为true,则动画被创建并添加到舞台后自动播放。 Animation autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 fa...
来源: laya_api 发布时间: 20170929