ユーザ用ツール

サイト用ツール


en:vci:script:reference:exportstudio

差分

この文書の現在のバージョンと選択したバージョンの差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
en:vci:script:reference:exportstudio [2019/11/08 11:02]
h-eguchi 以前のリビジョンを復元 (2019/10/10 16:26)
en:vci:script:reference:exportstudio [2020/01/23 16:59] (現在)
Ramen スペルミス修正
ライン 7: ライン 7:
 ---- ----
  
-===== List of methods ​=====+===== List of functions ​=====
  
-**For the latest list of the methods, refer to "​types.lua"​ file in "​EmbeddedScriptWorkspace"​ folder. **\\+**For the latest list of the functions, refer to "​types.lua"​ file in "​EmbeddedScriptWorkspace"​ folder. **\\
  
 ==== ExportStudio ==== ==== ExportStudio ====
ライン 18: ライン 18:
 Note that, as of 29th August 2019, items that can also be spawned by guests cannot be acquired.\\ Note that, as of 29th August 2019, items that can also be spawned by guests cannot be acquired.\\
  
-Method ​^ Description ^+Function ​^ Description ^
 | shared | [[en:​vci:​script:​reference:​exportshared| vci.studio.shared(ExportShared)]] | | shared | [[en:​vci:​script:​reference:​exportshared| vci.studio.shared(ExportShared)]] |
 +| GetOwner fun(): ExportAvatar | Acquire the [[en:​vci:​script:​reference:​exportavatar|avatar]] of the VCI owner |
 +| GetAvatars fun(): ExportAvatar | Acquire the list of [[en:​vci:​script:​reference:​exportavatar|avatars]] in the studio |
 | GetMic fun(): ExportSystemItem | Instantiate a [[en:​virtualcast:​item:​microphone|microphone]] | | GetMic fun(): ExportSystemItem | Instantiate a [[en:​virtualcast:​item:​microphone|microphone]] |
 | HasMic fun(): bool | True when a [[en:​virtualcast:​item:​microphone|microphone]] exists in the studio | | HasMic fun(): bool | True when a [[en:​virtualcast:​item:​microphone|microphone]] exists in the studio |
ライン 40: ライン 42:
 | GetSwitchingCamera fun(): ExportSystemCamera | Instantiate a [[en:​virtualcast:​item:​switchingcamera|switching camera]] | | GetSwitchingCamera fun(): ExportSystemCamera | Instantiate a [[en:​virtualcast:​item:​switchingcamera|switching camera]] |
 | HasSwitchingCamera fun(): bool | True when a [[en:​virtualcast:​item:​switchingcamera|switching camera]] exists in the studio | | HasSwitchingCamera fun(): bool | True when a [[en:​virtualcast:​item:​switchingcamera|switching camera]] exists in the studio |
 +| GetNameBoard fun(idOrName:​ string): ExportSystemItem | Instantiate the name plate. Specify the user name or ID acquired from [[en:​vci:​script:​reference:​exportavatar|ExportAvatar]]. |
 +| HasNameBoard fun(idOrName:​ string): bool | true if the name plate exists in the studio |
  
 ---- ----
ライン 45: ライン 49:
 ==== SystemItem ==== ==== SystemItem ====
  
-Method ​^ Description ^ +Function ​^ Description ^
-| _new fun(interactableItemController:​ usertype, controller: usertype): ExportSystemItem |  |+
 | GetName fun(): string | Get the name of an item. | GetName fun(): string | Get the name of an item.
 | GetLocalPosition fun(): Vector3 | Get the position of an item\\ (The origin point is the local coordinate at the time of spawn ) | | GetLocalPosition fun(): Vector3 | Get the position of an item\\ (The origin point is the local coordinate at the time of spawn ) |
ライン 62: ライン 65:
 | SetLocalRotation fun(localRotation:​ Quaternion):​ number | Change the rotation of an item\\ (Local coordinate) ** *1** | | SetLocalRotation fun(localRotation:​ Quaternion):​ number | Change the rotation of an item\\ (Local coordinate) ** *1** |
 | IsGrabbed fun(): bool | True when grabbed | | IsGrabbed fun(): bool | True when grabbed |
-| GetHashCode fun(): number | Generate a hash value | 
-| ToString fun(): string | Convert a SystemItem into a string| 
  
 ** *1**\\ ** *1**\\
ライン 73: ライン 74:
 ==== ExportSystemCamera ==== ==== ExportSystemCamera ====
  
-It's basically the same with the SystemItem, but there exist some functions unique to the camera.\\+It's basically the same with the SystemItem, but there exists ​some functions unique to the camera.\\
  
-Method ​^ Description ^ +Function ​^ Description ^
-| _new fun(interactableItemController:​ usertype, controller: usertype): ExportSystemItem |  |+
 | GetFieldOfView fun(): number | Get the field of view (FOV) of the camera | | GetFieldOfView fun(): number | Get the field of view (FOV) of the camera |
 | SetFieldOfView fun(fov: number): number | Change the field of view (FOV) of the camera ** *1** ** *2** | | SetFieldOfView fun(fov: number): number | Change the field of view (FOV) of the camera ** *1** ** *2** |
ライン 96: ライン 96:
 | SetLocalRotation fun(localRotation:​ Quaternion):​ number | Change the rotation of an item\\ (Local coordinate) ** *1** | | SetLocalRotation fun(localRotation:​ Quaternion):​ number | Change the rotation of an item\\ (Local coordinate) ** *1** |
 | IsGrabbed fun(): bool | True when grabbed | | IsGrabbed fun(): bool | True when grabbed |
-| GetHashCode fun(): number | Generate a hash value | 
-| ToString fun(): string | Convert a SystemItem into a string| 
  
 ** *1**\\ ** *1**\\
ライン 103: ライン 101:
  
 ** *2**\\ ** *2**\\
-Bellow is the list of the cameras that can have the FOV specified. You cannot specify a value that exceeds the value acquirable with GetMinFieldOfView and GetMaxFieldOfView.+Bellow is the list of the cameras that can have the FOV specified. You cannot specify a value that exceeds the value acquirable with ''​GetMinFieldOfView'' ​and ''​GetMaxFieldOfView.''​
  
 ^ Camera name ^ FOV setting ^ ^ Camera name ^ FOV setting ^
en/vci/script/reference/exportstudio.1573178562.txt.gz · 最終更新: 2019/11/08 11:02 by h-eguchi

ページ用ツール