actor_list()- This command outputs the list of the actor names in the scene (Actor children). It also returns a string list with those names.
object_list()- This command outputs the list of the static-object names in the scene (Actor children with StaticMeshComponent). It also returns a string list with those names.
skeletal_list()- This command outputs the list of the skeleton names in the scene (Actor children with SkeletalMeshComponent).It also returns a string list with those names.
camera_list()- This command outputs the list of the camera names in the scene (Actor children with CameraComponent). It also returns a string list with those names.
move(string actor_name, float X, float Y, float Z)- Moves the actor (Skeletal or Static)
actor_nameimmediately toX,Y,Zposition in world coordinates.
- Moves the actor (Skeletal or Static)
move(string actor_name, float X, float Y, float Z, float secs)- Moves the actor (Skeletal or Static)
actor_nametoX,Y,Zposition in world coordinates gradually, throughoutsecsseconds.
- Moves the actor (Skeletal or Static)
rotate(string actor_name, float P, float Y, float R)- Rotates the actor (Skeletal or Static)
actor_nameimmediately byP,Y,Rdegrees (euler angles).
- Rotates the actor (Skeletal or Static)
rotate(string actor_name, float P, float Y, float R, float secs)- Rotates the actor (Skeletal or Static)
actor_namebyP,Y,Rdegrees (euler angles), throughoutsecsseconds.
- Rotates the actor (Skeletal or Static)
scale(string actor_name, float rateX, float rateY, float rateZ)- Scales the actor (Skeletal or Static)
actor_namebyrateX,rateY,rateZrates. Each dimension can be specified separately, but the three values must be the same if proportions are wanted to be kept.
- Scales the actor (Skeletal or Static)
(X, Y, Z) = get_location(string actor_name)- Returns the world coordinates
X,Y,Zwith the position of the actoractor_name.
- Returns the world coordinates
(P, Y, R) = get_rotation(string actor_name)- Returns the euler angles
P,Y,Rwhich express the rotation of the actoractor_name.
- Returns the euler angles
(rateX, rateY, rateZ) = get_scale(string actor_name)- Returns the rates
rateX,rateY,rateZwith the scale of the actoractor_name.
- Returns the rates
socket_list(string sk_name)- Lists the socket names of the
sk_nameskeleton. It also returns a string list with those names.
- Lists the socket names of the
move_socket(string sk_name, string socket_name, float X, float Y, float Z)- Moves the socket
socket_nameof the skeletonsk_nametoX, Y, Zposition in world coordinates.
- Moves the socket
move_socket(string sk_name, string socket_name, float X, float Y, float Z, float secs)- Moves gradually the socket
socket_nameof the skeletonsk_nametoX, Y, Zposition in world coordinates, throughoutsecsseconds.
- Moves gradually the socket
rotate_socket(string sk_name, string socket_name, float P, float Y, float R)- Roatates the socket
socket_nameof the skeletonsk_namebyP, Y, Rdegrees (euler angles) in world space.
- Roatates the socket
rotate_socket(string sk_name, string socket_name, float P, float Y, float R, float secs)- Roatates gradually the socket
socket_nameof the skeletonsk_namebyP, Y, Rdegrees (euler angles) in world space, throughoutsecsseconds.
- Roatates gradually the socket
(X, Y, Z) = get_socket_location(string sk_name, string socket_name)- Returns the world coordinates
X,Y,Zwith the position of the actoractor_name.
- Returns the world coordinates
(P, Y, R) = get_socket_rotation(string sk_name, string socket_name)- Returns the euler angles
P,Y,R(in world space) which express the rotation of the actoractor_name.
- Returns the euler angles
set_asset_path(string path)- Sets the folder specified in
pathas the one to look for assets. The default path is empty, which means that the folder to check is Content. The path is always relative to the Content folder inside the Unreal project folder, and the format must be/folder/subfolder(slash at the begining and not at the end).
- Sets the folder specified in
asset_list()- This command lists the names of the assets on the current asset path. It also returns a string list with those names.
change_texture (string actor_name, string asset_name)- Change the texture of the actor
actor_name(must be a MeshActor) toasset_name(must be a texture). The texture asset must be placed at the current asset path.
- Change the texture of the actor
spawn_actor(string actor_name, string asset_name, float X, float Y, float Z)- Spawns the actor on the asset
asset_nameon the positionX,Y,Xon world coordinates with nameactor_name.
- Spawns the actor on the asset
spawn_camera(string camera_name, float X, float Y, float Z)- Spawns a CameraActor in the scene with the name
camera_name.
- Spawns a CameraActor in the scene with the name
camera_look_at(string camera_name, string actor_name)- Rotates the camera
camera_nameto point to the location in which the actoractor_nameis located.
- Rotates the camera
camera_look_at(string camera_name,float X, float Y, float Z)- Rotates the camera
camera_nametoX,Y,Zlocation in world coordinates.
- Rotates the camera
set_camera_stereo(string camera_name, bool is_stereo, float baseline)- Sets the camera
camera_nameto stereo camera (ifis_stereois true) or to mono camera (ifis_stereois false). Ifis_stereois true, the stereo pair will be defined with the specifiedbaseline. The position and rotation of the pair will be refered to the middle point between them, as they will be created to be in the same plane.
- Sets the camera
bool = is_camera_stereo(string camera_name)- Returns true if camera
camera_nameis stereo, and false if it isn’t.
- Returns true if camera
set_output_frames_resolution(int width, int height)- Sets the resolution of the output frames to
width x height. Default is 1920 x 1080.
- Sets the resolution of the output frames to
set_output_frames_path(string path)- Sets the folder specified in
pathas the one to save the output frames. The default path is TODO. The path is always relative to the Content folder inside the Unreal project folder, and the format must be TODO.
- Sets the folder specified in
toggle_scene_physics(bool enabled)- Enables and disables (if
enabledis true/false) the gravity and physics simulations on the scene. Useful to “freeze” the scene.
- Enables and disables (if
bool = is_scene_physics_enabled()- Returns true or false depending on physics are enabled or disabled.
get_rgb(string camera_name)- Get the RGB frame of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/rgbsubfolder with default name (TODO).
- Get the RGB frame of the current scene from the point of view of
get_rgb(string camera_name, string file_name)- Get the RGB frame of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/rgbsubfolder with the namefile_name.
- Get the RGB frame of the current scene from the point of view of
get_depth(string camera_name)- Get the depth map of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/depthsubfolder with default name (TODO).
- Get the depth map of the current scene from the point of view of
get_depth(string camera_name, string file_name)- Get the depth map of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/depthsubfolder with the namefile_name.
- Get the depth map of the current scene from the point of view of
get_normal(string camera_name)- Get normal map of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/normalsubfolder with default name (TODO).
- Get normal map of the current scene from the point of view of
get_normal(string camera_name, string file_name)- Get normal map of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/normalsubfolder with the namefile_name.
- Get normal map of the current scene from the point of view of
get_instance_mask(string camera_name)- Get instance segmentation mask of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/masksubfolder with default name (TODO).
- Get instance segmentation mask of the current scene from the point of view of
get_instance_mask(string camera_name, string file_name)- Get instance segmentation mask of the current scene from the point of view of
camera_nameand saves it in the output frames path, insidecamera_name/masksubfolder with the namefile_name.
- Get instance segmentation mask of the current scene from the point of view of
(vertex list) = get_3d_bounding_box(string actor_name)- Returns a list with eight X,Y,Z points in world coordinates that represent the vertexes of the 3D orientes bounding box of the actor
actor_name(must be an Actor with StaticMeshComponent).
- Returns a list with eight X,Y,Z points in world coordinates that represent the vertexes of the 3D orientes bounding box of the actor