大约有 427 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0043 秒)
...hs/Matrix.ts:30 使用指定参数创建新的 Matrix 对象。 Parameters Default value a: number = 1 (可选)缩放或旋转图像时影响像素沿 x 轴定位的值。 Default value b: number = 0 (可选)旋转或倾斜图像时影响像素沿 y 轴定位的值。 Default value c: number...
来源: Laya3.0_api 发布时间: 20231115
...让类相互继承,然后又相互引用就解决了,比如 export default class A{ //public instance:B 这种就是类相互继承,然后又相互引用,改为: public instance:any } export default class B extends A{ } 2024-12-16 1 0 分享 微博 QZONE 微信 正阳子...
来源: Laya_社区 发布时间: 20241209
...ar Defined in laya/display/Graphics.ts:94 清空绘制命令。 Parameters Default value recoverCmds: boolean = true 是否回收绘图指令数组,设置为true,则对指令数组进行回收以节省内存开销,建议设置为true进行回收,但如果手动引用了数组,不建议回...
来源: Laya3.0_api 发布时间: 20231115
...ernion Implements IClone Index Constructors constructor Properties w x y z DEFAULT NAN Methods clone cloneTo equals forNativeElement fromArray getYawPitchRoll identity invert length lengthSquared normalize rotateX rotateY rotateZ scaling set setValue add createFromAxisAngle createFromMatrix4x4 creat...
来源: Laya3.0_api 发布时间: 20231102
...似按钮)的功能,全部代码如下所示: ```typescript export default class ImageRunTime extends Laya.Image{ constructor(){ super(); this.scaleTime = 100; //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya...
来源: Laya2.0_文档 发布时间: 20210715
...n laya/d3/core/scene/bvh/BVHSpatial.ts:32 创建BVH系统实例 Parameters Default value bvhConfig: BVHSpatialConfig = null Default value bvhManager: BVHSpatialManager = null Returns BVHRenderSpatial Accessors bvhSpatialBox get bvhSpatialBox(): BVHSpatialBox<IBoundsCell> Inherited from BVHSpat...
来源: Laya3.0_api 发布时间: 20231115
...ix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert isIdentity ...
来源: Laya3.0_api 发布时间: 20231115
...a/components/AnimatorStateCondition.ts:52 状态机过渡条件 Parameters Default value name: string = null Returns AnimatorStateCondition Accessors id get id(): number Defined in laya/components/AnimatorStateCondition.ts:66 唯一ID Returns number name get name(): string set name(value: string): v...
来源: Laya3.0_api 发布时间: 20231115
...ix3x3 Implements IClone Index Constructors constructor Properties elements DEFAULT Methods clone cloneTo determinant identity invert rotate scale translate transpose createFromMatrix4x4 createFromRotation createFromScaling createFromTranslation createRotationQuaternion forwardLookAt lookAt multiply ...
来源: Laya3.0_api 发布时间: 20231115
...dState crossFade destroy getControllerLayer getCurrentAnimatorPlayState getDefaultState hasHideFlag linkSprite3DToAvatarNode onAdded onAwake onDestroy onDisable onEnable onLateUpdate onPostRender onPreRender onReset onStart onUpdate play removeState unLinkSprite3DToAvatarNode Constructors constructo...
来源: Laya3.0_api 发布时间: 20231102