# TransformComponent::GetLocalScale **命名空间**: `XCEngine::Components` **类型**: `method` **头文件**: `XCEngine/Components/TransformComponent.h` ## 签名 ```cpp const Math::Vector3& GetLocalScale() const; ``` ## 作用 返回 `m_localScale` 当前值。 ## 当前实现 - 返回 `m_localScale` 当前值。 ## 相关文档 - [TransformComponent](TransformComponent.md) - [SetLocalScale](SetLocalScale.md)