Files
XCEngine/docs/api/XCEngine/Components/TransformComponent/SetLocalRotation.md

477 B

TransformComponent::SetLocalRotation

命名空间: XCEngine::Components

类型: method

头文件: XCEngine/Components/TransformComponent.h

签名

void SetLocalRotation(const Math::Quaternion& rotation);

作用

更新 m_localRotation

当前实现

  • 会更新 m_localRotation
  • 当前实现会调用 SetDirty

相关文档