Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何查看Texture2D的资产的详细信息 #32

Open
yimogod opened this issue May 30, 2023 · 1 comment
Open

如何查看Texture2D的资产的详细信息 #32

yimogod opened this issue May 30, 2023 · 1 comment

Comments

@yimogod
Copy link

yimogod commented May 30, 2023

请问下, 我想扩展下PakViewer, 如果这个资产是Texture的话, 想查看他的Size, LodBias等信息.

对于如何获取Texture的信息有什么方法吗?

我目前遇到的问题是, UTexture2D需要引入Engine模块, 从而依赖到了EditorStyle模块, 而EditorStyle只允许TargetType=Editor.

@yimogod
Copy link
Author

yimogod commented May 30, 2023

我把下面的编译选项都打开了.
bBuildWithEditorOnlyData = true;
bCompileAgainstEngine = true;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant