Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/defold/defold
/ ToVector3
Function
ToVector3
engine/script/src/script_vmath.cpp:280–283 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
278
}
279
280
Vector3* ToVector3(lua_State* L, int index)
281
{
282
return (Vector3*)ToUserType(L, index, TYPE_HASHES[SCRIPT_TYPE_VECTOR3]);
283
}
284
285
static int Vector3_tostring(lua_State *L)
286
{
Callers
15
Script_SetScale
Function · 0.85
Script_SetScaleXY
Function · 0.85
Script_Property
Function · 0.85
GetPropertyType
Function · 0.85
CheckUserData
Function · 0.85
Vector3_mul
Function · 0.85
Vector3_eq
Function · 0.85
DoCheckTable
Function · 0.85
TEST_F
Function · 0.85
TEST_F
Function · 0.85
LuaSet
Function · 0.85
LuaAnimate
Function · 0.85
Calls
1
ToUserType
Function · 0.85
Tested by
2
TEST_F
Function · 0.68
TEST_F
Function · 0.68