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

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

371. laya.ui.CheckBox_API3.0 [ 42%]

...a/ui/CheckBox.ts:83 创建一个新的 CheckBox 组件实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label: string = "" 文本标签的内容。 Returns CheckBox Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from ...

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

372. localRotationEulerY旋转位置错误 [ 42%]

...单一,建议用脚本方式实现,比如子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {     private mat1: Laya.BlinnPhongMaterial;     private newScene: Laya.Scene3D;     private arr: any;     constructor() {         super(); ...

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

373. laya.d3.physics.PhysicsCollider_API3.0 [ 42%]

...cs/PhysicsCollider.ts:10 创建一个 PhysicsCollider 实例。 Parameters Default value collisionGroup: number = Physics3DUtils.COLLISIONFILTERGROUP_DEFAULTFILTER 所属碰撞组。 Default value canCollideWith: number = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER 可产生碰撞的碰撞组。 R...

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

374. laya.display.Input_API3.0 [ 42%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 ignoreLang ignoreLang: boolean Inherited from Text.ignoreLang Defined in lay...

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

375. laya.ui.TextInput_API3.0 [ 42%]

...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...

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

376. 3d显示对象克隆体超出舞台不再显示的bug2.1.0.btea1 [ 42%]

...能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { scene3d:Laya.Scene3D; sp:Laya.Sprite3D; sp2:Laya.Sprite3D; translateA = new Laya.Vector3(-0.05, 0, 0); translateD = new Laya.Vector3( 0.05, 0, 0); constructor() { super(); //...

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

377. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 41%]

...能单一,建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private sMapRes = "remote/model/res/Conventional/map1.ls" private sBullRes = "remote/model/res/Conventio...

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

378. laya.display.BitmapFont_API3.0 [ 41%]

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

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

379. 分享,扩展Laya.Text组件实现简单的富文本 [ 41%]

...-= lineWidth / 2; break; case 'right': x -= lineWidth; break; case 'left': default: break; } y += this._charSize.height; this._graphics.drawLine(x, y, x + lineWidth, y, this.underColor || this.color, 1); } /** * 取出关键字即所在的索引 * @param _text */ private parseType(_text: string) { l...

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

380. 分享水波一个shader [ 41%]

... SubShader = Laya.SubShader; import BaseTexture = Laya.BaseTexture; export default class Test1Material extends BaseMaterial { public readonly MAIN_TEX:number = Shader3D.propertyNameToID("u_MainTex"); public readonly NOISE_TEX:number = Shader3D.propertyNameToID("u_NoiseTex"); public readonly Time:num...

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