| 69 | void SetCameraToTexture(AActor *viewpoint, const FString &texturename, double fov); |
| 70 | |
| 71 | DEFINE_ACTION_FUNCTION_NATIVE(_TexMan, SetCameraToTexture, SetCameraToTexture) |
| 72 | { |
| 73 | PARAM_PROLOGUE; |
| 74 | PARAM_OBJECT(viewpoint, AActor); |
| 75 | PARAM_STRING(texturename); // [ZZ] there is no point in having this as FTextureID because it's easier to refer to a cameratexture by name and it isn't executed too often to cache it. |
| 76 | PARAM_FLOAT(fov); |
| 77 | SetCameraToTexture(viewpoint, texturename, fov); |
| 78 | return 0; |
| 79 | } |
| 80 | |
| 81 | static void SetCameraTextureAspectRatio(const FString &texturename, double aspectScale, bool useTextureRatio) |
| 82 | { |
nothing calls this directly
no test coverage detected