Closed fingerx closed 3 years ago
Hi @fingerx camera support has been added in master branch.
There are currently 4 functions exposed:
TArray<FString> GetCamerasNames();
ACameraActor* LoadNodeCamera(UObject* WorldContextObject, const int32 NodeIndex, TSubclassOf<ACameraActor> CameraActorClass);
TArray<int32> GetCameraNodesIndices();
bool LoadCamera(const int32 CameraIndex, UCameraComponent* CameraComponent);
If You use the included AssetActor it will load the cameras automatically (included animations, just assign the current view target to one of them, if you are in editor just 'eject' and click over the camera component you want to inspect)
@rdeioris thanks
thanks for work,can your add support runtime load camera from gltf?thanks