 | ASL_AutonomousObjectHandler.SetWorldScale Method (Int32, Vector3, GameLiftManager.OpFunctionCallback) |
If the caller is the owner of the object indeicated by index, the object's scale will be set to WorldScale via World Scale.
Calls callback once the opperation is complete.
Namespace:
ASL
Assembly:
Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntaxpublic void SetWorldScale(
int index,
Vector3 WorldScale,
GameLiftManager.OpFunctionCallback callback
)
Public Sub SetWorldScale (
index As Integer,
WorldScale As Vector3,
callback As GameLiftManager.OpFunctionCallback
)
public:
void SetWorldScale(
int index,
Vector3 WorldScale,
GameLiftManager.OpFunctionCallback^ callback
)
member SetWorldScale :
index : int *
WorldScale : Vector3 *
callback : GameLiftManager.OpFunctionCallback -> unit
Parameters
- index
- Type: System.Int32
Index of the ASL_AutonomousObject being transformed. - WorldScale
- Type: Vector3
The desired scale of the object. - callback
- Type: ASL.GameLiftManager.OpFunctionCallback
Callback function to be called once the operation has been completed.
See Also