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

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

561. laya.d3.core.trail.TrailFilter_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/trail/TrailFilter" TrailFilter Class TrailFilter TrailFilter 类用于创建拖尾过滤器。 Hierarchy TrailFilter Index Constructors constructor Properties _curtime _lastPosition _ownerR...

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

562. 输入设备-摇一摇 [ 65%]

... = Laya.Browser; import Handler = Laya.Handler; import Event = Laya.Event; export class InputDevice_Shake { private picW:number = 484; private picH:number = 484; private console:Text; private shakeCount:number = 0; constructor() { Laya.init(this.picW, Browser.height * this.picW / Browser.width); Lay...

来源: Laya2.0_示例 发布时间: 20240930

563. 如何拓展材质shader? [ 65%]

...rial   但在做材质属性拷贝的时候会出现不正确的结果   export default class LayaBlinnPhongExt extends Laya.BlinnPhongMaterial {     public CopyAttribute_ASKLaya(baseMat: Laya.BlinnPhongMaterial) {                var layaBlinnPhongExt:LayaBlinnPhongExt=this;    ...

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

564. UI怎么设置居中显示,显示到游戏窗口中 [ 65%]

...mespace uiview { import Event = Laya.Event; import Browser = Laya.Browser; export class ViewLogin extends ui.loginViewUI { constructor() { super(); this.smo this.visible = false; 我的问题是UI界面如何对齐,不是舞台。。 2018-02-06 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 ...

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

565. Sprite-遮罩-放大镜 [ 65%]

... = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_MagnifyingGlass { private maskSp:Sprite; private bg2:Sprite; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(1136, 640, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH...

来源: Laya2.0_示例 发布时间: 20240930

566. laya.d3.renderobjs.nativeobj.NativeBounds_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/RenderObjs/NativeOBJ/NativeBounds" NativeBounds Class NativeBounds Hierarchy NativeBounds Implements IClone Index Constructors constructor Properties MemoryBlock_size Accessors max min Methods _...

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

567. 字体切片组件 · LayaAir3.0文档 · LAYABOX [ 65%]

...脚本控制FontClip: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property( { type : Laya.FontClip } ) public fontclp: Laya.FontClip; constructor() { super(); } // 组件被激活后执行,此时所有节点和组件均已创建完毕,此方...

来源: Laya3.0_文档 发布时间: 20230901

568. laya.d3.core.ui3d.UI3DGeometry_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/UI3D/UI3DGeometry" UI3DGeometry Class UI3DGeometry Hierarchy GeometryElement UI3DGeometry Index Properties _geometryElementOBj Accessors bufferState destroyed drawType indexFormat instanceC...

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

569. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/shape/HeightfieldTerrainShape" HeightfieldTerrainShape Class HeightfieldTerrainShape BoxColliderShape 类用于创建高度图地形形状碰撞器。 Hierarchy ColliderShape Heightfield...

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

570. laya.ani.bone.BoneSlot_API3.0 [ 65%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ani/bone/BoneSlot" BoneSlot Class BoneSlot Hierarchy BoneSlot Index Properties attachmentName currDisplayData currSlotData currTexture displayIndex name parent srcDisplayIndex templet type Methods ...

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