当前位置:网站首页>【Cocos Creator 3.5.1】this.node.getPosition(this._curPos)的使用
【Cocos Creator 3.5.1】this.node.getPosition(this._curPos)的使用
2022-06-27 05:35:00 【CN-Dust】
使用方式:
this.node.getPosition(this._curPos);
描述:
(method) Node.getPosition(out?: Vec3): Vec3
@en — Get position in local coordinate system, please try to pass out vector and reuse it to avoid garbage.
@zh — 获取本地坐标,注意,尽可能传递复用的 [[Vec3]] 以避免产生垃圾。
@param out — Set the result to out vector
@return — If out given, the return value equals to out, otherwise a new vector will be generated and return
边栏推荐
猜你喜欢

Basic concepts of neo4j graph database

What is BFC? What's the usage?

es6 0622三
![[FPGA] realize the data output of checkerboard horizontal and vertical gray scale diagram based on bt1120 timing design](/img/80/c258817abd35887c0872a3286a821f.png)
[FPGA] realize the data output of checkerboard horizontal and vertical gray scale diagram based on bt1120 timing design

竣达技术丨多品牌精密空调集中监控方案
![[station B up dr_can learning notes] Kalman filter 1](/img/18/ee21d31f6a118e4e4ad466b55361cc.gif)
[station B up dr_can learning notes] Kalman filter 1

LeetCode-515. 在每个树行中找最大值

leetcode299周赛记录

Discussion on streaming media protocol (MPEG2-TS, RTSP, RTP, RTCP, SDP, RTMP, HLS, HDS, HSS, mpeg-dash)
![Mechanical transcoding journal [17] template, STL introduction](/img/78/926db660139fda3d31cceccad7096c.png)
Mechanical transcoding journal [17] template, STL introduction
随机推荐
双位置继电器XJLS-8G/220
Neo4j community conflicts with neo4j desktop
Opencv实现对象跟踪
Avoid asteroids
IP网络通信的单播、组播和广播
项目-h5列表跳转详情,实现后退不刷新,修改数据则刷新的功能(记录滚动条)
ES6 0622 III
Interview: what are the positioning methods in selenium? Which one do you use most?
机械转码日记【17】模板,STL简介
STM32 reads IO high and low level status
Some articles about component packaging and my experience
Halon common affine transformation operators
Redis高可用集群(哨兵、集群)
021 basics of C language: recursion, variable parameters
Wechat applet websocket use case
体验 win10 下 oceanbase 数据库
Flink production problems (1.10)
Experience oceanbase database under win10
[FPGA] design and implementation of frequency division and doubling based on FPGA
[FPGA] UART serial port_ V1.1