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

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

1411. laya.d3.core.light.SpotLightCom_API3.0 [ 49%]

... Only exported Menu Globals "laya/d3/core/light/SpotLightCom" SpotLightCom Class SpotLightCom SpotLight 类用于创建聚光。 Hierarchy Light SpotLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors awaked destroyed enabled hideFlags id...

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

1412. laya.d3.physics.constraints.FixedConstraint_API3.0 [ 49%]

...Menu Globals "laya/d3/physics/constraints/FixedConstraint" FixedConstraint Class FixedConstraint Hierarchy ConstraintComponent FixedConstraint Index Constructors constructor Properties _extra _singleton disableCollisionsBetweenLinkedBodies owner runInEditor scriptPath Accessors anchor appliedImpulse...

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

1413. laya.d3.physics.PhysicsTriggerComponent_API3.0 [ 49%]

... Globals "laya/d3/physics/PhysicsTriggerComponent" PhysicsTriggerComponent Class PhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy PhysicsComponent PhysicsTriggerComponent PhysicsCollider Rigidbody3D Index Constructors constructor Properties _extra _si...

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

1414. 输入文本组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...下面给出一个示例代码,实现脚本控制TextInput: const { regClass, property } = Laya; @regClass() export class TextInputControl extends Laya.Script { //declare owner : Laya.Sprite3D; @property( { type : Laya.TextInput } ) public txtin: Laya.TextInput; constructor() { super(); } /** * ...

来源: Laya3.0_文档 发布时间: 20251010

1415. laya.resource.VideoTexture_API3.0 [ 49%]

...rnals Only exported Menu Globals "laya/resource/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG _videoTexturePool Accessors anisoLevel baseMipmapLevel...

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

1416. ts加密md5码封装 [ 49%]

...3456"); console.log(str) //len:32 //e10adc3949ba59abbe56e057f20f883emd5.ts class Md5 { private static _inst:Md5; public static get Instance():Md5 { return this._inst ||(this._inst = new Md5()); } public get_md5(str:string):string { return this.md5(str); } split(target: string | any[], step: number, ...

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

1417. 导航容器组件 · LayaAir3.4 · 引擎文档 · LAYABOX [ 49%]

...暴露的属性入口中。需要添加如下的示例代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.ViewStack }) public viewstack: Laya.ViewStack; @property({ type: Laya.Tab }) public tab: Laya.Tab; //组件被激活后...

来源: Laya3.0_文档 发布时间: 20251010

1418. 求ShuriKenParticle3D用法 [ 49%]

...rt Burst                    = Laya.Burst;     export class JinBi extends ShuriKenParticle3D {         constructor() {             let material = ShurikenParticleMaterial.load("resources/Assets/ArtResources/Effects/Materials/Effect_yu_jinbi_xulie.lmat");    ...

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

1419. 提示资源重复加载 [ 49%]

...ol01.png"; let swimpoorpath02="Comp/yard_swimpool02.png";  export default class Yard extends Laya.Sprite { private swimpoolani:Laya.Animation;  constructor() { super(); this.swimpoolani=new Laya.Animation(); //this.init(); this.swimpoolani.loadAtlas("./res/atlas/Comp.atlas",Laya.Handler.create(thi...

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

1420. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 49%]

...制显示速度出现打字效果等  /**古文脚本 */ export default class TextAncient extends Laya.Script { /** @prop {name:text, tips:"显示文本", type:String, default:"hello world"}*/ public text: string = "hello world"; /** @prop {name:color, tips:"字符串类型示例", type:String, def...

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