当前位置:网站首页>【Cocos Creator 3.5.1】this. node. Use of getposition (this.\u curpos)
【Cocos Creator 3.5.1】this. node. Use of getposition (this.\u curpos)
2022-06-27 05:44:00 【CN-Dust】
Usage mode :
this.node.getPosition(this._curPos);
describe :
(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 — Get local coordinates , Be careful , As far as possible, it is possible to transfer the reused [[Vec3]] To avoid garbage .
@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
边栏推荐
猜你喜欢
![[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

QT using Valgrind to analyze memory leaks

Vue学习笔记(五)Vue2页面跳转问题 | vue-router路由概念、分类与使用 | 编程式路由导航 | 路由组件的缓存 | 5种路由导航守卫 | 嵌套路由 | Vue2项目的打包与部署

jq怎么获取元素的id名

Web3还没实现,Web5乍然惊现!

【FPGA】基于bt1120时序设计实现棋盘格横纵向灰阶图数据输出

Dual position relay dls-34a dc0.5a 220VDC

【622. 设计循环队列】

Web3 has not been implemented yet, web5 suddenly appears!

leetcode299周赛记录
随机推荐
使用域名转发mqtt协议,避坑指南
Luogu p2939 [usaco09feb]revamping trails G
洛谷P4683 [IOI2008] Type Printer 题解
Web3还没实现,Web5乍然惊现!
双位置继电器JDP-1440/DC110V
EPICS记录参考5 -- 数组模拟输入记录Array Analog Input (aai)
Navigation [machine learning]
RTP 发送PS流工具(已经开源)
Two position relay hjws-9440
Machunmei, the first edition of principles and applications of database... Compiled final review notes
DAST black box vulnerability scanner part 6: operation (final)
【FPGA】UART串口_V1.1
QT using Valgrind to analyze memory leaks
NLP-D62-nlp比赛D31&刷题D15
微信小程序刷新当前页面
LeetCode-515. 在每个树行中找最大值
Quick sort (non recursive) and merge sort
双位置继电器DLS-34A DC0.5A 220VDC
Spark 之 WholeStageCodegen
Win 10 如何打开环境变量窗口