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

大约有 292 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)

191. laya.components.AnimationClip2D_API3.0 [ 54%]

...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

192. laya.d3.physics.Rigidbody3D_API3.0 [ 53%]

...3/physics/Rigidbody3D.ts:424 创建一个 RigidBody3D 实例。 Parameters Default value collisionGroup: number = Physics3DUtils.COLLISIONFILTERGROUP_DEFAULTFILTER 所属碰撞组。 Default value canCollideWith: number = Physics3DUtils.COLLISIONFILTERGROUP_ALLFILTER 可产生碰撞的碰撞组。 R...

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

193. laya.d3.webxr.core.WebXRCamera_API3.0 [ 53%]

...ned in laya/d3/core/Camera.ts:659 创建一个 Camera 实例。 Parameters Default value aspectRatio: number = 0 横纵比。 Default value nearPlane: number = 0.3 近裁面。 Default value farPlane: number = 1000 远裁面。 Returns WebXRCamera Properties _cacheDepth _cacheDepth: boolean Inherite...

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

194. laya.resource.VideoTexture_API3.0 [ 52%]

...ideoTexturePool Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture destroyed dimension filterMode format gammaCorrection gammaSpace gpuMemory height id maxMipmapLevel mipmap mipmapCount obsolute referenceCount video width wrapModeU wrapModeV wrapModeW cpuMemory gpuMemory Metho...

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

195. laya.ani.bone.Templet_API3.0 [ 52%]

...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 _parse _parse(texture: Texture, c...

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

196. laya.display.Sprite_API3.0 [ 51%]

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

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

197. 组件装饰器说明 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...mal; } //Animal.ts const { regClass, property } = Laya; @regClass() export default class Animal { @property({ type : Number }) weight : number; } 上面的示例中,组件脚本MyScript中引用了自定义的Animal对象 ,并将装饰器属性标识的类型设置为Animal, 尽管Animal不是...

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

198. 继承自Laya.BaseMaterial并且自定义Shader的的自定义材质如何设置透明渲染 [ 50%]

...但文档和教程搜索无果,想请教如何做才能实现。 export default class CMat extends Laya.BaseMaterial { public static _mainTex : number; public static _mainCol : number; inited : boolean = false; constructor() { super(); if(!this.inited) { CMat._mainTex = Laya.Shader3D.propertyNameT...

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

199. laya.resource.NativeContext_API3.0 [ 50%]

...UFFER_TYPE_CMD ARRAY_BUFFER_TYPE_DATA ENUM_TEXTALIGN_CENTER ENUM_TEXTALIGN_DEFAULT ENUM_TEXTALIGN_RIGHT const2DRenderCMD Accessors _curMat _targets asBitmap fillStyle globalAlpha globalCompositeOperation isMain Methods _drawCircle _drawLine _drawLines _drawPath _drawPie _drawPoly _drawTextureM _init...

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

200. laya.html.dom.HTMLIframeElement_API3.0 [ 50%]

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

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