当前位置:网站首页>【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
边栏推荐
猜你喜欢

Asp. Net core6 websocket simple case

双位置继电器JDP-1440/DC110V

双位置继电器RXMVB2 R251 204 110DC

LeetCode-515. Find the maximum value in each tree row

Remapping (STM32)

Codeforces Round #802 (Div. 2)

Junda technology - centralized monitoring scheme for multi brand precision air conditioners

躲避小行星游戏

Asp.Net Core6 WebSocket 简单案例

什么是BFC?有什么用?
随机推荐
Dual position relay dls-34a dc0.5a 220VDC
EasyExcel合并相同内容单元格及动态标题功能的实现
Edge loads web pages in IE mode - edge sets ie compatibility
Double position relay jdp-1440/dc110v
Asp.Net Core6 WebSocket 简单案例
DAST black box vulnerability scanner part 6: operation (final)
stm32读取IO高低电平状态
Neon optimization 1: how to optimize software performance and reduce power consumption?
Redis高可用集群(哨兵、集群)
Acwing's 57th weekly match -- BC question is very good
Codeforces Round #802 (Div. 2)
EPICS记录参考5 -- 数组模拟输入记录Array Analog Input (aai)
Flink production problems (1.10)
Qt使用Valgrind分析内存泄漏
neo4j数据库导出
OpenCV的轮廓检测和阈值处理综合运用
洛谷P2939 [USACO09FEB]Revamping Trails G 题解
STM32关闭PWM输出时,让IO输出固定高或低电平的方法。
C语言实现定时器
Two position relay hjws-9440