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

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

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

...但文档和教程搜索无果,想请教如何做才能实现。 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

372. laya.ui.ProgressBar_API3.0 [ 47%]

.../ProgressBar.ts:127 创建一个新的 ProgressBar 类实例。 Parameters Default value skin: string = null 皮肤地址。 Returns ProgressBar Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inhe...

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

373. laya.ui.Image_API3.0 [ 47%]

...tor Defined in laya/ui/Image.ts:98 创建一个 Image 实例。 Parameters Default value skin: string | null = null 皮肤资源地址。 Returns Image Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Override...

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

374. laya.d3.core.scene.Scene3D_API3.0 [ 47%]

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

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

375. laya.display.Text_API3.0 [ 47%]

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

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

376. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 46%]

.../ShurikenParticleSystem.ts:891 Parameters render: ShurikenParticleRenderer Default value meshTopology: MeshTopology = MeshTopology.Triangles Default value drawType: DrawType = DrawType.DrawElement Returns ShurikenParticleSystem Properties _geometryElementOBj _geometryElementOBj: IRenderGeometryEleme...

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

377. laya.ui.Button_API3.0 [ 46%]

...in laya/ui/Button.ts:212 创建一个新的 Button 类实例。 Parameters Default value skin: string = null 皮肤资源地址。 Default value label: string = "" 按钮的文本内容。 Returns Button Properties Optional _extra _extra: INodeExtra Implementation of ISelect._extra Inherited from No...

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

378. [BUG]刚体约束问题,移动后约束混乱! [ 46%]

...单一,建议用脚本方式实现,比如子弹脚本。  */ export default class GameUI extends ui.test.TestSceneUI {   private newScene:Laya.Scene3D;   private boxA: Laya.MeshSprite3D;   constructor() {     super();     Laya3D.init(0, 0);     Laya.stage.scaleMode...

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

379. laya.ui.ComboBox_API3.0 [ 46%]

...om button cacheAs centerX centerY components customRenderEnable dataSource defaultLabel destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea is3D isOpen itemColors itemHeight itemPaddin...

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

380. Laya2自动同步cullingMask方案以及灯光裁剪补丁 [ 46%]

...是对摄相机进行。因此务必保持与摄相机相同。 **/ export default class ExtCullingMask { public static enableLightCullingMask(scene: Laya.Scene3D) { //var proto = Laya.Scene3D.prototype as any; (scene as any).lightCullingMask = function (scene, camera) { //灯光处理开始 麒麟...

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