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

Method scale

scene/3d/node_3d.cpp:1176–1181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1174}
1175
1176void Node3D::scale(const Vector3 &p_ratio) {
1177 ERR_THREAD_GUARD;
1178 Transform3D t = get_transform();
1179 t.basis.scale(p_ratio);
1180 set_transform(t);
1181}
1182
1183void Node3D::scale_object_local(const Vector3 &p_scale) {
1184 ERR_THREAD_GUARD;

Callers 15

_update_selectionMethod · 0.45
_notificationMethod · 0.45
begin_bakeMethod · 0.45
_debug_meshMethod · 0.45
global_scaleMethod · 0.45
_particles_processMethod · 0.45
solveMethod · 0.45
_update_viewport_sizeMethod · 0.45
get_final_transformMethod · 0.45
viewport.cppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected