大约有 600 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(234) Laya_社区(164) Laya2.0_api(108) laya_api(58) Laya2.0_文档(19) Laya3.0_文档(14) Laya_示例(2) Laya2.0_示例(1)
...efined in laya/d3/core/BaseCamera.ts:206 渲染时是否用遮挡剔除。 Static RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_DEFERREDLIGHTING: string = "DEFERREDLIGHTING" Inherited from BaseCamera.RENDERINGTYPE_DEFERREDLIGHTING Defined in laya/d3/core/BaseCamera.ts:67 渲染模式,延迟光照渲...
来源: Laya3.0_api 发布时间: 20231115
...中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静态,静态包含一系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D lightType : int[override] [read-only] 获取点光的类型。 PointLight loaded : Boolean[read-only] 获...
来源: laya_api 发布时间: 20170929
... = -1Texture bitmap : * 图片或者canvas 。Texture DEF_UV : Array[static] 默认 UV 信息。Texture height : Number 实际高度。Texture INV_UV : Array[static] 反转 UV 信息。Texture isLinearSampling : Boolean 获取当前纹理是否启用了线性采样。 Texture loade...
来源: laya_api 发布时间: 20170929
...能实现。 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.propertyNameToID("u_MainTex"); CMat._mainCol = Laya.Shader3D.proper...
来源: Laya_社区 发布时间: 20190814
...销,无需renderTarget支持。 Sprite CharacterCache : Boolean = true[static] Text color : String[override] 表示文本的颜色值。可以通过 Text.defaultColor 设置默认颜色。 默认值为黑色。 Input customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染...
来源: Laya2.0_api 发布时间: 20190513
...ls/FontInfo.ts:41 设置字体格式 Parameters value: string Returns void Static parse parse(font: string): FontInfo Defined in laya/utils/FontInfo.ts:9 解析字体模型 Parameters font: string Returns FontInfo Globals "laya/utils/FontInfo" FontInfo constructor setFont parse _lastFont _lastFontIn...
来源: Laya3.0_api 发布时间: 20231115
....text = Stat.FPS.toString(); } } } class Character extends Sprite { public static WIDTH: number = 110; public static HEIGHT: number = 110; private speed: number = 5; private bloodBar: Sprite; private animation: Animation; private nameLabel: Text; constructor(images: Array) { super(); this.createAnim...
来源: Laya_示例 发布时间: 20250223
...事呢 ?可以帮帮我解答下吗 class Item extends Laya.Box{ public static WID: number = 147; public static HEI: number = 190; private skin_progress_chip:Laya.ProgressBar; private skin_img:Laya.Image; private skin_chipNum:Laya.Text; public skin_btn_use:Laya.Image; private skin_lock:Laya.Image;...
来源: Laya_社区 发布时间: 20180828
...ya.Sprite; // 位置类型 private _posType: string; // 左 右 中 public static LEFT: string = "left"; public static RIGHT: string = "right"; public static CENTER: string = "center"; constructor(jsonData: any,textureData: Laya.Texture,width: number,posType:string = "left"){ super(); this.width = w...
来源: Laya_社区 发布时间: 20161014
...题 export class ResUIModuleManager { /** * 模块资源路径 */ private static moduleResPath: string = 'res/atlas/{0}.json'; /** * 模块的资源名称和模块的主面板(模块的主面板类全名,模块资源图集名称[]) * @type {Laya.Dictionary} * @memberof ResourcesModuleManager *...
来源: Laya_社区 发布时间: 20170905