mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-14 14:26:36 +00:00
Rename Transform to Transform3D in core
This commit is contained in:
@@ -60,7 +60,7 @@ void GLTFNode::_bind_methods() {
|
||||
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "parent"), "set_parent", "get_parent"); // GLTFNodeIndex
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "height"), "set_height", "get_height"); // int
|
||||
ADD_PROPERTY(PropertyInfo(Variant::TRANSFORM, "xform"), "set_xform", "get_xform"); // Transform
|
||||
ADD_PROPERTY(PropertyInfo(Variant::TRANSFORM, "xform"), "set_xform", "get_xform"); // Transform3D
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "mesh"), "set_mesh", "get_mesh"); // GLTFMeshIndex
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "camera"), "set_camera", "get_camera"); // GLTFCameraIndex
|
||||
ADD_PROPERTY(PropertyInfo(Variant::INT, "skin"), "set_skin", "get_skin"); // GLTFSkinIndex
|
||||
@@ -89,11 +89,11 @@ void GLTFNode::set_height(int p_height) {
|
||||
height = p_height;
|
||||
}
|
||||
|
||||
Transform GLTFNode::get_xform() {
|
||||
Transform3D GLTFNode::get_xform() {
|
||||
return xform;
|
||||
}
|
||||
|
||||
void GLTFNode::set_xform(Transform p_xform) {
|
||||
void GLTFNode::set_xform(Transform3D p_xform) {
|
||||
xform = p_xform;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user