RemoteTransform

Inherits: Spatial < Node < Object

RemoteTransform pushes its own Transform to another Spatial derived Node in the scene.

Descripción

RemoteTransform pushes its own Transform to another Spatial derived Node (called the remote node) in the scene.

It can be set to update another Node's position, rotation and/or scale. It can use either global or local coordinates.

Propiedades

NodePath

remote_path

NodePath("")

bool

update_position

true

bool

update_rotation

true

bool

update_scale

true

bool

use_global_coordinates

true

Métodos

void

force_update_cache ( )

Descripciones de Propiedades

Default

NodePath("")

Setter

set_remote_node(value)

Getter

get_remote_node()

The NodePath to the remote node, relative to the RemoteTransform's position in the scene.


  • bool update_position

Default

true

Setter

set_update_position(value)

Getter

get_update_position()

Si true, la posición del nodo remoto se actualiza.


  • bool update_rotation

Default

true

Setter

set_update_rotation(value)

Getter

get_update_rotation()

Si true, la rotación del nodo remoto se actualiza.


Default

true

Setter

set_update_scale(value)

Getter

get_update_scale()

Si true, la rotación del nodo remoto se actualiza.


  • bool use_global_coordinates

Default

true

Setter

set_use_global_coordinates(value)

Getter

get_use_global_coordinates()

Si true, se utilizan las coordenadas globales. Si false, se utilizan las coordenadas locales.

Descripciones de Métodos

  • void force_update_cache ( )

RemoteTransform caches the remote node. It may not notice if the remote node disappears; force_update_cache forces it to update the cache again.