大约有 1,430 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0179 秒)
...代码使用,如图1-4所示 (图1-4) 但是重要的一点是,在同一个IDE创建的场景中,可以支持编辑3D场景和2D场景 1.2 场景划分 如果针对某个场景,开发者只需要3D场景或者只需要2D场景,那怎么办呢? 对于只需要2D场景时,可以点...
来源: Laya3.0_文档 发布时间: 20251010
...j.title = "" + index; } 如果使用了对象池,意回调函数可能为同一个对象重复调用,所以在回调函数里注册事件侦听需要非常小心,避免使用临时函数,造成重复添加。 然后设置这个函数为列表的渲染函数: aList.itemRenderer = renderList...
来源: Laya3.0_文档 发布时间: 20251128
...称为容器对象,例如:Sprite、Sprite3D、Box 等。 有时候,同一个节点对象,既可以作为显示对象,也可以作为容器对象。 例如Sprite,当设置了纹理资源时,它即为显示对象;若未设置纹理,仅用于管理子节点,则作为容器对象使...
来源: Laya3.0_文档 发布时间: 20251010
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.l...
来源: Laya3.0_api 发布时间: 20231115
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 color color: Color Defined in laya/d3/core/light/Light.ts:61 灯光颜色。 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获...
来源: Laya3.0_api 发布时间: 20231115
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 anchor anchor: any[] = [0, 0] Defined in laya/physics/joint/PrismaticJoint.ts:18 [首次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 ax...
来源: Laya3.0_api 发布时间: 20231115
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.l...
来源: Laya3.0_api 发布时间: 20231115
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 fixture fixture: any Inherited from ColliderBase.fixture Defined in laya/physics/ColliderBase.ts:25 [只读]b2Fixture对象 label label: string Inherited from ColliderBase.l...
来源: Laya3.0_api 发布时间: 20231115
...7-10-23 0 1 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: 同一个文本中字体大小不同,颜色不同 var htmlD:HTMLDivElement = new HTMLDivElement(); Laya.stage.addChild(htmlD); htmlD.innerHTML = "<font style='fontSize:30' color='#67fc2c'>测试<br/></font>...
来源: Laya_社区 发布时间: 20161027
...nt._singleton Defined in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node Inherited from Component.owner De...
来源: Laya3.0_api 发布时间: 20231115