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

485 B

TransformComponent::SetRotation

命名空间: XCEngine::Components

类型: method

头文件: XCEngine/Components/TransformComponent.h

签名

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

作用

更新 m_localRotation

当前实现

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

相关文档