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

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

241. laya.d3.core.Camera_API3.0 [ 74%]

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

242. laya.d3.core.light.PointLight [ 74%]

...中显示。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

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

...能实现。 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

244. laya.resource.Texture [ 74%]

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

245. laya.display.Input [ 74%]

...销,无需renderTarget支持。 Sprite CharacterCache : Boolean = true[static] Text  color : String[override] 表示文本的颜色值。可以通过 Text.defaultColor 设置默认颜色。 默认值为黑色。 Input customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染...

来源: Laya2.0_api 发布时间: 20190513

246. laya.utils.FontInfo_API3.0 [ 74%]

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

247. 性能测试-卡通人物2 [ 74%]

....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_示例 发布时间: 20241001

248. list中的item类中的button注册事件不响应 是怎么回事呢 ?可以帮帮我解答下吗 [ 74%]

...事呢 ?可以帮帮我解答下吗 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

249. 分享个用美术资源做位图文本的方法。。。 [ 74%]

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

250. laya.d3.core.light.SpotLight [ 74%]

...中显示。Node id : int[read-only] 获取唯一标识ID。 Sprite3D isStatic : Boolean是否静态,静态包含一系列的静态处理。Sprite3D layer : Layer 获取蒙版。 Sprite3D  lightType : int[override] [read-only] 获取聚光的类型。 SpotLight loaded : Boolean[read-only] 获...

来源: laya_api 发布时间: 20170929