562 B
562 B
TransformComponent::LookAt
命名空间: XCEngine::Components
类型: method
头文件: XCEngine/Components/TransformComponent.h
签名
void LookAt(const Math::Vector3& target);
void LookAt(const Math::Vector3& target, const Math::Vector3& up);
作用
执行 LookAt、Up 协同流程。
当前实现
- 当前实现会调用
LookAt、Up。 - 当前实现会调用
Normalize、GetPosition、Magnitude、SetRotation、LookRotation。