大约有 292 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0071 秒)
...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
...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
...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
...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
...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
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Defined in laya/display/Sprite.ts...
来源: Laya3.0_api 发布时间: 20231115
...mal; } //Animal.ts const { regClass, property } = Laya; @regClass() export default class Animal { @property({ type : Number }) weight : number; } 上面的示例中,组件脚本MyScript中引用了自定义的Animal对象 ,并将装饰器属性标识的类型设置为Animal, 尽管Animal不是...
来源: Laya3.0_文档 发布时间: 20251010
...但文档和教程搜索无果,想请教如何做才能实现。 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
...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
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from AnimationBase.mous...
来源: Laya3.0_api 发布时间: 20231102