• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 431 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0049 秒)

321. List翻页效果怎么实现 [ 48%]

...fo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super(); this.list_rule.hScrollBarSkin = ""; this.list_rule.renderHandler = new Laya.Han...

来源: Laya_社区 发布时间: 20181112

322. laya.resource.Texture2D_API3.0 [ 47%]

...re whiteTexture Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Methods _ad...

来源: Laya3.0_api 发布时间: 20231115

323. laya.resource.Resource_API3.0 [ 47%]

...(count?: number): void Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference(count?: number): void Defined in laya/r...

来源: Laya3.0_api 发布时间: 20231115

324. laya.ui.ProgressBar_API3.0 [ 47%]

.../ProgressBar.ts:127 创建一个新的 ProgressBar 类实例。 Parameters Default value skin: string = null 皮肤地址。 Returns ProgressBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inhe...

来源: Laya3.0_api 发布时间: 20231115

325. laya.physics.Physics_API3.0 [ 47%]

...lse 自己控制物理更新时机,自己调用Physics.update Parameters Default value options: any = null Returns void stop stop(): void Defined in laya/physics/Physics.ts:188 停止物理世界 Returns void updatePhysicsByWorldRoot updatePhysicsByWorldRoot(): void Defined in laya/physics/Physics...

来源: Laya3.0_api 发布时间: 20231115

326. laya.ui.ScrollBar_API3.0 [ 47%]

... laya/ui/ScrollBar.ts:97 创建一个新的 ScrollBar 实例。 Parameters Default value skin: string = null 皮肤资源地址。 Returns ScrollBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false ...

来源: Laya3.0_api 发布时间: 20231115

327. Config_API3.0 [ 47%]

...擎之前设置。 Hierarchy Config Index Properties FPS animationInterval defaultFont defaultFontSize destroyResourceImmediatelyDefault fixedFrames isAlpha isAntialias isDepth isStencil isfailIfMajorPerformanceCaveat powerPreference premultipliedAlpha preserveDrawingBuffer printWebglOrder useRetina...

来源: Laya3.0_api 发布时间: 20231115

328. laya.utils.Byte_API3.0 [ 47%]

...ined in laya/utils/Byte.ts:50 创建一个 Byte 类的实例。 Parameters Default value data: any = null 用于指定初始化的元素数目,或者用于初始化的TypedArray对象、ArrayBuffer对象。如果为 null ,则预分配一定的内存空间,当可用空间不足时,优先使...

来源: Laya3.0_api 发布时间: 20231115

329. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 47%]

...derShape.ts:16 创建一个新的 SphereColliderShape 实例。 Parameters Default value radius: number = 0.5 半径。 Returns CannonSphereColliderShape Properties needsCustomCollisionCallback needsCustomCollisionCallback: boolean = false Inherited from CannonColliderShape.needsCustomCollisionCallb...

来源: Laya3.0_api 发布时间: 20231102

330. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 47%]

...部代码如下所示: ```typescript /* ImageRunTime逻辑类 */ export default class ImageRunTime extends Laya.Image{ public scaleTime:number = 100; constructor() { super(); //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 t...

来源: Laya2.0_文档 发布时间: 20210715