Class RemoteTransform3D
- Namespace
- Godot
- Assembly
- GodotSharp.dll
RemoteTransform3D pushes its own Transform3D to another Node3D 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.
public class RemoteTransform3D : Node3D, IDisposable
- Inheritance
-
RemoteTransform3D
- Implements
- Inherited Members
Constructors
RemoteTransform3D()
public RemoteTransform3D()
Properties
RemotePath
The NodePath to the remote node, relative to the RemoteTransform3D's position in the scene.
public NodePath RemotePath { get; set; }
Property Value
UpdatePosition
If true
, the remote node's position is updated.
public bool UpdatePosition { get; set; }
Property Value
UpdateRotation
If true
, the remote node's rotation is updated.
public bool UpdateRotation { get; set; }
Property Value
UpdateScale
If true
, the remote node's scale is updated.
public bool UpdateScale { get; set; }
Property Value
UseGlobalCoordinates
If true
, global coordinates are used. If false
, local coordinates are used.
public bool UseGlobalCoordinates { get; set; }
Property Value
Methods
ForceUpdateCache()
RemoteTransform3D caches the remote node. It may not notice if the remote node disappears; ForceUpdateCache() forces it to update the cache again.
public void ForceUpdateCache()
HasGodotClassMethod(in godot_string_name)
Check if the type contains a method with the given name. This method is used by Godot to check if a method exists before invoking it. Do not call or override this method.
protected override bool HasGodotClassMethod(in godot_string_name method)
Parameters
method
godot_string_nameName of the method to check for.
Returns
HasGodotClassSignal(in godot_string_name)
Check if the type contains a signal with the given name. This method is used by Godot to check if a signal exists before raising it. Do not call or override this method.
protected override bool HasGodotClassSignal(in godot_string_name signal)
Parameters
signal
godot_string_nameName of the signal to check for.
Returns
InvokeGodotClassMethod(in godot_string_name, NativeVariantPtrArgs, out godot_variant)
Invokes the method with the given name, using the given arguments. This method is used by Godot to invoke methods from the engine side. Do not call or override this method.
protected override bool InvokeGodotClassMethod(in godot_string_name method, NativeVariantPtrArgs args, out godot_variant ret)
Parameters
method
godot_string_nameName of the method to invoke.
args
NativeVariantPtrArgsArguments to use with the invoked method.
ret
godot_variantValue returned by the invoked method.