MCPcopy Create free account
hub / github.com/Redot-Engine/redot-engine / get_scale

Method get_scale

modules/gltf/structures/gltf_node.cpp:172–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170}
171
172Vector3 GLTFNode::get_scale() {
173 return transform.basis.get_scale();
174}
175
176void GLTFNode::set_scale(Vector3 p_scale) {
177 transform.basis = transform.basis.orthonormalized() * Basis::from_scale(p_scale);

Callers 15

_serialize_nodesMethod · 0.45
_import_animationMethod · 0.45
_create_skeletonsMethod · 0.45
set_rotationMethod · 0.45
_import_animationMethod · 0.45
_update_shapesMethod · 0.45
redrawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected