大约有 386 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0084 秒)
...同一个节点只能添加此类型的脚本一次 owner owner: Sprite | Sprite3D Overrides Component.owner Defined in laya/components/Script.ts:14 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中...
来源: Laya3.0_api 发布时间: 20231115
... Laya.Vector3(1, -1, -1); //平面 var plane = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(6, 6, 10, 10))); var planeMat = new Laya.StandardMaterial(); planeMat.diffuseTexture = Laya.Texture2D.load("../../res/threeDimen/texture/layabox.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, ...
来源: Laya_示例 发布时间: 20251130
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { let opendata = new Laya.OpenDataContextView(); Laya.stage.add...
来源: Laya3.0_文档 发布时间: 20251010
...就可以看到.ls后缀的文件。 .lh 预设文件,选择导出预设Sprite3D类别时生成的文件类型。相对于.ls后缀的场景文件,会缺少环境光、环境反射、场景雾效等等与场景渲染相关的信息。 .lm 模型数据文件,通常是FBX格式的转换而成。...
来源: Laya3.0_文档 发布时间: 20251010
...regClass() export class Script1 extends Laya.Script { declare owner : Laya.Sprite3D; } //TestCustomEditor.ts @IEditorEnv.customEditor(Script1) export class TestCustomEditor extends IEditorEnv.CustomEditor { declare owner: Laya.Sprite3D; onSceneGUI(): void { IEditorEnv.Handles.drawHemiSphere(this.own...
来源: Laya3.0_文档 发布时间: 20251010
...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean mask get mask(): Sprite set mask(value: Sprite): void Defined in laya/display/Sprite.ts:1681 遮罩,可以设置一个对象(支持位图和矢量图),根据对象形状进行遮罩...
来源: Laya3.0_api 发布时间: 20231115
...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean isPopup get isPopup(): boolean Defined in laya/ui/Dialog.ts:327 弹出框的显示状态;如果弹框处于显示中,则为true,否则为false; Returns boolean left get left(): nu...
来源: Laya3.0_api 发布时间: 20231115
...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean label get label(): string set label(value: string): void Defined in laya/ui/Button.ts:425 按钮的文本内容。 Returns string Defined in laya/ui/Button.ts:429 按钮的文本内容...
来源: Laya3.0_api 发布时间: 20231115
...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean label get label(): string set label(value: string): void Inherited from Button.label Defined in laya/ui/Button.ts:425 按钮的文本内容。 Returns string Inherited from Button.label...
来源: Laya3.0_api 发布时间: 20231115
...Node.is3D Defined in laya/display/Node.ts:87 是否3D节点,即Scene3D和Sprite3D及其衍生类 Returns boolean isPlaying get isPlaying(): boolean set isPlaying(value: boolean): void Defined in laya/ui/Clip.ts:445 表示切片动画的当前播放状态。 如果切片动画正在播放中,则...
来源: Laya3.0_api 发布时间: 20231115