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

826 B

TransformComponent::TransformDirection

公开方法,详见头文件声明。

Math::Vector3 TransformDirection(const Math::Vector3& direction) const;

该方法声明于 XCEngine/Components/TransformComponent.h,当前页面用于固定 TransformComponent 类目录下的方法级 canonical 路径。

参数:

  • direction - 参数语义详见头文件声明。

返回: Math::Vector3 - 返回值语义详见头文件声明。

示例:

#include <XCEngine/Components/TransformComponent.h>

void Example() {
    XCEngine::Components::TransformComponent object;
    // 根据上下文补齐参数后调用 TransformComponent::TransformDirection(...)。
    (void)object;
}

相关文档