Rename Transform to Transform3D in core

This commit is contained in:
Aaron Franke
2021-06-03 07:30:01 -04:00
parent b80494e633
commit de3f6699a5
257 changed files with 1697 additions and 1702 deletions
+3 -3
View File
@@ -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;
}