Sinespace Client
2023.2.17543
Client-side scripting for Sinespace
|
Public Member Functions | |
void | AttachTo (SGameObject target) |
void | Detach () |
void | OnAvatarAttached (Action e) |
An event which fires whenever this avatar is attached to a game object in the current scene. More... | |
void | OnAvatarAttached (Closure e) |
An event which fires whenever this avatar is attached to a game object in the current scene. More... | |
void | OnAvatarDetached (Action e) |
An event which fires whenever this avatar is detached from a game object in the current scene. More... | |
void | OnAvatarDetached (Closure e) |
An event which fires whenever this avatar is detached from a game object in the current scene. More... | |
void | LoadOutfit (int outfitID) |
Only works on a white-label deployment due to abuse concerns. More... | |
void | ResetOutfit () |
Only works on a white-label deployment due to abuse concerns. More... | |
void | Register (string username, string password, string email, bool subscribeToSinespaceNewsletter=false, Closure onSuccess=null, Closure onError=null) |
Only works on white label grids, allows a guest to register. More... | |
void | ResetOutfitToTemplate (int outfitID) |
SGameObject | FindBone (string bone) |
void | Teleport (string landmarkName) |
void | Teleport (SVector position) |
void | Teleport (SVector position, SQuaternion rotation) |
void | Teleport (int region, SVector position, SQuaternion rotation) |
void | Teleport (int region) |
void | SetIKGoal (string goal, bool positionGoal, float positionStrength, SVector positionTarget, bool rotationGoal, float rotationStrength, SQuaternion rotationTarget) |
void | ClearIKGoal (string goal) |
void | PlayCustomAnimation (SResource animationClip) |
void | StopCustomAnimation () |
void | OnAvatarReload (Closure o) |
void | OnAvatarReload (Action callback) |
void | SynchroniseState () |
void | StartFly () |
void | EndFly () |
void | OnAvatarSkeletonReload (Closure o) |
void | OnAvatarSkeletonReload (Action callback) |
double | TeleportToNextEvent (long withinSeconds=600) |
Properties | |
string | Username [get] |
string | DisplayName [get] |
string | Title [get] |
string | OrgTitle [get] |
string | OrgName [get] |
long | ID [get] |
bool | IsAttached [get] |
float | MovementSpeed [get, set] |
float | JumpHeight [get, set] |
bool | Guest [get] |
long | OutfitID [get] |
bool | Loaded [get] |
string | Gender [get] |
SGameObject | LockObject [get] |
SGameObject | Skeleton [get] |
bool | BlockMovement [get, set] |
bool | BlockRun [get, set] |
bool | BlockFly [get, set] |
bool | BlockCrouch [get, set] |
bool | BlockJump [get, set] |
bool | IsGrounded [get] |
bool | IsBot [get] |
Properties inherited from ScriptClassComponent< AvatarComponentBaseInternal > | |
SGameObject | GameObject [get] |
Return the GameObject which component added. More... | |
void SineSpace.Scripting.Types.SAvatar.AttachTo | ( | SGameObject | target | ) |
void SineSpace.Scripting.Types.SAvatar.ClearIKGoal | ( | string | goal | ) |
void SineSpace.Scripting.Types.SAvatar.Detach | ( | ) |
void SineSpace.Scripting.Types.SAvatar.EndFly | ( | ) |
SGameObject SineSpace.Scripting.Types.SAvatar.FindBone | ( | string | bone | ) |
void SineSpace.Scripting.Types.SAvatar.LoadOutfit | ( | int | outfitID | ) |
Only works on a white-label deployment due to abuse concerns.
outfitID | A valid outfit ID |
void SineSpace.Scripting.Types.SAvatar.OnAvatarAttached | ( | Action | e | ) |
An event which fires whenever this avatar is attached to a game object in the current scene.
e | A valid event handler delegate |
void SineSpace.Scripting.Types.SAvatar.OnAvatarAttached | ( | Closure | e | ) |
An event which fires whenever this avatar is attached to a game object in the current scene.
e | A valid event handler delegate |
void SineSpace.Scripting.Types.SAvatar.OnAvatarDetached | ( | Action | e | ) |
An event which fires whenever this avatar is detached from a game object in the current scene.
e | A valid event handler delegate |
void SineSpace.Scripting.Types.SAvatar.OnAvatarDetached | ( | Closure | e | ) |
An event which fires whenever this avatar is detached from a game object in the current scene.
e | A valid event handler delegate |
void SineSpace.Scripting.Types.SAvatar.OnAvatarReload | ( | Action | callback | ) |
void SineSpace.Scripting.Types.SAvatar.OnAvatarReload | ( | Closure | o | ) |
void SineSpace.Scripting.Types.SAvatar.OnAvatarSkeletonReload | ( | Action | callback | ) |
void SineSpace.Scripting.Types.SAvatar.OnAvatarSkeletonReload | ( | Closure | o | ) |
void SineSpace.Scripting.Types.SAvatar.PlayCustomAnimation | ( | SResource | animationClip | ) |
void SineSpace.Scripting.Types.SAvatar.Register | ( | string | username, |
string | password, | ||
string | email, | ||
bool | subscribeToSinespaceNewsletter = false , |
||
Closure | onSuccess = null , |
||
Closure | onError = null |
||
) |
Only works on white label grids, allows a guest to register.
void SineSpace.Scripting.Types.SAvatar.ResetOutfit | ( | ) |
Only works on a white-label deployment due to abuse concerns.
void SineSpace.Scripting.Types.SAvatar.ResetOutfitToTemplate | ( | int | outfitID | ) |
void SineSpace.Scripting.Types.SAvatar.SetIKGoal | ( | string | goal, |
bool | positionGoal, | ||
float | positionStrength, | ||
SVector | positionTarget, | ||
bool | rotationGoal, | ||
float | rotationStrength, | ||
SQuaternion | rotationTarget | ||
) |
void SineSpace.Scripting.Types.SAvatar.StartFly | ( | ) |
void SineSpace.Scripting.Types.SAvatar.StopCustomAnimation | ( | ) |
void SineSpace.Scripting.Types.SAvatar.SynchroniseState | ( | ) |
void SineSpace.Scripting.Types.SAvatar.Teleport | ( | int | region | ) |
void SineSpace.Scripting.Types.SAvatar.Teleport | ( | int | region, |
SVector | position, | ||
SQuaternion | rotation | ||
) |
void SineSpace.Scripting.Types.SAvatar.Teleport | ( | string | landmarkName | ) |
void SineSpace.Scripting.Types.SAvatar.Teleport | ( | SVector | position | ) |
void SineSpace.Scripting.Types.SAvatar.Teleport | ( | SVector | position, |
SQuaternion | rotation | ||
) |
double SineSpace.Scripting.Types.SAvatar.TeleportToNextEvent | ( | long | withinSeconds = 600 | ) |
|
getset |
|
getset |
|
getset |
|
getset |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
getset |
|
get |
|
get |
|
get |
|
get |
|
get |
|
get |