大约有 427 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
...但文档和教程搜索无果,想请教如何做才能实现。 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
.../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
...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
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 mouseThrough mouseThrough: boolean = false Inherited from Text.mouseThrough ...
来源: Laya3.0_api 发布时间: 20231115
...鼠标事件检测依据。 Stage对象和UI的View组件默认为true。 default false 优先检测此对象的子对象,当递归检测完所有子对象后,仍然没有找到目标对象,最后再检测此对象。 ignoreLang ignoreLang: boolean Defined in laya/display/Text.ts:140 标记此...
来源: Laya3.0_api 发布时间: 20231115
.../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
...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
...单一,建议用脚本方式实现,比如子弹脚本。 */ 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
...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
...是对摄相机进行。因此务必保持与摄相机相同。 **/ 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