| ASL_AutonomousObjectHandlerSetWorldPosition Method (Int32, Vector3, GameLiftManagerOpFunctionCallback) |
If caller is the owner of the object indicated by index, the object's position will be set to WorldPosition via World Pososition.
Calls callback once the opperation is complete.
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax public void SetWorldPosition(
int index,
Vector3 WorldPosition,
GameLiftManagerOpFunctionCallback callback
)
Public Sub SetWorldPosition (
index As Integer,
WorldPosition As Vector3,
callback As GameLiftManagerOpFunctionCallback
)
public:
void SetWorldPosition(
int index,
Vector3 WorldPosition,
GameLiftManagerOpFunctionCallback^ callback
)
member SetWorldPosition :
index : int *
WorldPosition : Vector3 *
callback : GameLiftManagerOpFunctionCallback -> unit
Parameters
- index
- Type: SystemInt32
Index of the ASL_AutonomousObject being transformed. - WorldPosition
- Type: Vector3
The position in World space that the object will be moved to. - callback
- Type: ASLGameLiftManagerOpFunctionCallback
Callback function to be called once the operation has been completed.
See Also