この文書の現在のバージョンと選択したバージョンの差分を表示します。
両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
vci:sample [2023/05/09 19:32] pastatto [メディア] |
vci:sample [2024/08/19 13:12] (現在) pastatto [VCI独自機能] |
||
---|---|---|---|
ライン 52: | ライン 52: | ||
===== 操作 ===== | ===== 操作 ===== | ||
^ アイテムが… ^ リファレンス ^ 対応サンプル ^ | ^ アイテムが… ^ リファレンス ^ 対応サンプル ^ | ||
- | | 使われた時 | [[vci:script:reference:eventfunction#onuse | onUse]] |[[vci:sample:onuse:hapticitem]]\\ [[vci:sample:onuse:no3]]| | + | | 使われた時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onUse.html | onUse]] |[[vci:sample:onuse:hapticitem]]| |
- | | 何かに触れた時 | [[vci:script:reference:eventfunction#onTriggerEnter | onTriggerEnter]] |[[vci:sample:ontrigger:no1| ボールが箱の中に入ったときや出たときに色を変える]]| | + | | 何かに触れた時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onTriggerEnter.html | onTriggerEnter]] |[[vci:sample:ontrigger:no1| ボールが箱の中に入ったときや出たときに色を変える]]| |
- | | 物理的に衝突した時 | [[vci:script:reference:eventfunction#onCollisionEnter | onCollisionEnter]]|[[vci:sample:oncollision:no1]]\\ [[vci:sample:oncollision:no2]]| | + | | 物理的に衝突した時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onCollisionEnter.html | onCollisionEnter]]|[[vci:sample:oncollision:no1]]| |
- | | つかまれた時 | [[vci:script:reference:eventfunction#onGrab | onGrab]] |[[vci:sample:ongrab:no1| 風車をつかんだら回りはじめ、放すと止まる]]| | + | | つかまれた時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onGrab.html | onGrab]] |[[vci:sample:ongrab:no1| 風車をつかんだら回りはじめ、放すと止まる]]| |
ライン 63: | ライン 63: | ||
^ アイテム ^ リファレンス ^ 対応サンプル ^ | ^ アイテム ^ リファレンス ^ 対応サンプル ^ | ||
- | | 移動させる |[[vci/script/reference/exporttransform#setpositionsetlocalposition|SetLocalPosition]]|[[vci:sample:transform:no1]]| | + | | 移動させる |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetLocalPosition.html|SetLocalPosition]]|[[vci:sample:transform:no1]]| |
- | | 回転させる |[[vci/script/reference/exporttransform#setrotationsetlocalrotation|SetLocalRotation]]|[[vci:sample:transform:no2]]| | + | | 回転させる |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetLocalRotation.html|SetLocalRotation]]|[[vci:sample:transform:no2]]| |
- | | 拡縮させる |[[vci/script/reference/exporttransform#setlocalscale|SetLocalScale]]|[[vci:sample:transform:no3]]\\ [[vci:sample:onuse:no4]]| | + | | 拡縮させる |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetLocalScale.html|SetLocalScale]]|[[vci:sample:transform:no3]]\\ [[vci:sample:onuse:no4]]| |
- | | 位置を戻す |[[vci/script/reference/exporttransform#setvelocity|SetVelocity]]|[[vci:sample:onuse:no1]]| | + | | 位置を戻す |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetVelocity.html|SetVelocity]]|[[vci:sample:onuse:no1]]| |
- | | 親子関係を再現 |[[vci/script/reference/exporttransform#setpositionsetlocalposition|SetPosition]]|[[vci:sample:transform:no4]]| | + | | 親子関係を再現 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetPosition.html|SetPosition]]|[[vci:sample:transform:no4]]| |
- | |matrix4x4を使って移動 |[[vci/script/reference/cstypes#matrix4x4|Matrix4x4]]|[[vci/sample/mat4]]| | + | |matrix4x4を使って移動 |[[https://developer.virtualcast.jp/vci-docs/api/classes/Matrix4x4/index.html|Matrix4x4]]|[[vci/sample/mat4]]| |
- | | Lerpを使って移動 |[[vci/script/reference/vector3#lerp_線形補間|Lerp]]|[[vci/sample/lerpmotion]]| | + | | Lerpを使って移動 |[[https://developer.virtualcast.jp/vci-docs/api/classes/Vector3/Lerp.html|Lerp]]|[[vci/sample/lerpmotion]]| |
ライン 75: | ライン 75: | ||
^ アニメーション ^ リファレンス ^ 対応サンプル ^ | ^ アニメーション ^ リファレンス ^ 対応サンプル ^ | ||
- | | 再生 |[[vci/script/reference/exportanimation#playfromname|PlayFromName]]|[[vci:sample:animation:tutorial2]]| | + | | 再生 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAnimation/Play.html|Play]]|[[vci/sample/onuse/no3]]| |
+ | | (作成レクチャー) |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAnimation/PlayFromName.html|PlayFromName]]|[[vci:sample:animation:tutorial2]]| | ||
+ | | (回転の場合) |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAnimation/Stop.html|Stop]]\\ [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAnimation/Play.html|Play]]|[[vci/sample/ongrab/no1]]| | ||
^ オーディオ ^ リファレンス ^ 対応サンプル ^ | ^ オーディオ ^ リファレンス ^ 対応サンプル ^ | ||
- | | 再生 |[[vci/script/reference/exportassets#playaudio|PlayAudio]]|[[vci:sample:audio:tutorial]]| | + | | 再生 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAudioSource/index.html|ExportAudioSource]]|[[vci:sample:audio:tutorial]]| |
- | | スケジュール再生 |[[vci/script/reference/exportaudiosource#playscheduled|PlayAudio]]|[[vci/sample/audio/playscheduled]]| | + | | スケジュール再生 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAudioSource/PlayScheduled.html|PlayScheduled]]|[[vci/sample/audio/playscheduled]]| |
^ マテリアル ^ リファレンス ^ 対応サンプル ^ | ^ マテリアル ^ リファレンス ^ 対応サンプル ^ | ||
| 画像を設定 |なし|[[vci:sample:image:tutorial]]| | | 画像を設定 |なし|[[vci:sample:image:tutorial]]| | ||
- | |色を変更 |[[vci/script/reference/exportassets#setmaterialcolor|SetMaterialColor]]|[[vci:sample:material:colorchange]]| | + | |色を変更 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportMaterial/SetColorFromIndex.html|SetColorFromIndex]]|[[vci:sample:material:colorchange]]| |
- | | UV座標を変更 |[[vci/script/reference/exportassets/material#settextureoffset|SetTextureOffset]]|[[vci:sample:material:uvchange]]\\ [[vci:sample:material:transparent|アイテムを消したり出したりする]]\\ [[vci/sample/onuse/no5]]\\ [[vci/sample/material/uvanimation]]| | + | | UV座標を変更 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportMaterial/SetTextureOffset.html|SetTextureOffset]]|[[vci:sample:material:uvchange]]\\ [[vci:sample:material:transparent|アイテムを消したり出したりする]]\\ [[vci/sample/onuse/no5]]\\ [[vci/sample/material/uvanimation]]| |
^ エフェクト ^ リファレンス ^ 対応サンプル ^ | ^ エフェクト ^ リファレンス ^ 対応サンプル ^ | ||
- | | 再生 |[[vci/script/reference/effekseer|ExportEffekseer]]|[[vci:sample:effect]]| | + | | 再生 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportEffekseer/index.html|ExportEffekseer]]|[[vci:sample:effect]]| |
+ | ^ 動画プレイヤー ^ リファレンス ^ 対応サンプル ^ | ||
+ | | 再生に連動 |[[vci/tips/messagevideo|WebVideoInfoFromRemocon]]|[[vci/sample/message/video]]]]| | ||
^ テキスト ^ リファレンス ^ 対応サンプル ^ | ^ テキスト ^ リファレンス ^ 対応サンプル ^ | ||
- | | 表示 |[[vci/script/reference/exportassets#settext|SetText]]|[[vci:sample:text:tutorial]]\\ [[vci:sample:text:textTexture]]| | + | | 表示 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAssets/SetText.html|SetText]]|[[vci:sample:text:tutorial]]\\ [[vci:sample:text:textTexture]]| |
^ ジョイント ^ リファレンス ^ 対応サンプル ^ | ^ ジョイント ^ リファレンス ^ 対応サンプル ^ | ||
| ジョイントを設定 |なし|[[vci:sample:joint:tutorial]]\\ [[vci/sample/joint/cracker]]\\ [[vci/sample/joint/no1]]\\ [[vci:sample:joint:sandback| サンドバッグ]]| | | ジョイントを設定 |なし|[[vci:sample:joint:tutorial]]\\ [[vci/sample/joint/cracker]]\\ [[vci/sample/joint/no1]]\\ [[vci:sample:joint:sandback| サンドバッグ]]| | ||
+ | ^ VCISpringBone ^ リファレンス ^ 対応サンプル ^ | ||
+ | | 揺れもの |なし|[[vci:sample:springbone:springbonetest]]| | ||
ライン 98: | ライン 104: | ||
^ メッセージ ^ リファレンス ^ 対応サンプル ^ | ^ メッセージ ^ リファレンス ^ 対応サンプル ^ | ||
- | | 送信/受信 | [[vci/script/reference/message|ExportMessage]] | [[vci/sample/message/no2]]\\ [[vci/script/reference/messagecomment]]\\ [[vci:sample:message:tarai]]\\ [[vci/script/reference/messagenotification]] | | + | | 送信/受信 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportMessage/index.html|ExportMessage]] | [[vci/sample/message/no2]] | |
+ | | スタジオ通知 | [[https://developer.virtualcast.jp/vci-docs/manual/studio_notification/comments.html|コメントの受信]] | [[vci:sample:message:tarai]] | | ||
+ | | ::: |[[https://developer.virtualcast.jp/vci-docs/manual/studio_notification/entry_exit.html|入退室通知]] | [[vci:sample:message:entrynotification]] | | ||
^ 同期変数 ^ リファレンス ^ 対応サンプル ^ | ^ 同期変数 ^ リファレンス ^ 対応サンプル ^ | ||
- | | アイテム内同期 | [[vci/script/reference/exportstate|ExportState]] | [[vci:sample:material:light]]\\ [[vci/sample/stateapi/state]]| | + | | アイテム内同期 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportState/index.html|ExportState]] | [[vci:sample:material:light]]\\ [[vci/sample/stateapi/state]]| |
^ スタジオアイテム ^ リファレンス ^ 対応サンプル ^ | ^ スタジオアイテム ^ リファレンス ^ 対応サンプル ^ | ||
- | | 操作 | [[vci/script/reference/exportstudio|ExportStudio]] | [[vci:sample:systemitem:commentcamera]]\\ [[vci:sample:systemitem:livecamera]] | | + | | 操作 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportStudio/index.html|ExportStudio]] | [[vci:sample:systemitem:commentcamera]]\\ [[vci:sample:systemitem:livecamera]] | |
^ 装着アイテム ^ リファレンス ^ 対応サンプル ^ | ^ 装着アイテム ^ リファレンス ^ 対応サンプル ^ | ||
- | | 装着 | [[vci/script/reference/attachable|ExportTransform Attachable]] | [[vci/sample/attachable]] | | + | | 装着 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/AttachToAvatar.html|AttachToAvatar]] | [[vci/sample/attachable]] | |
^ キーボード ^ リファレンス ^ 対応サンプル ^ | ^ キーボード ^ リファレンス ^ 対応サンプル ^ | ||
- | | 入力 | [[vci/script/reference/vciinput|ExportMe GetXXInput]] | [[vci:sample:Input:sample1]]| | + | | 入力 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportMe/index.html|ExportMe]] | [[vci:sample:Input:sample1]]| |
^ アバター ^ リファレンス ^ 対応サンプル ^ | ^ アバター ^ リファレンス ^ 対応サンプル ^ | ||
- | | 基準に制御 | [[vci/script/reference/exportavatar|ExportAvatar]] | [[vci:sample:avatar:cameraswitcher]]| | + | | 基準に制御 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAvatar/index.html|ExportAvatar]] | [[vci:sample:avatar:cameraswitcher]]| |
^ カメラAPI ^ リファレンス ^ 対応サンプル ^ | ^ カメラAPI ^ リファレンス ^ 対応サンプル ^ | ||
- | | 写真を撮影 | [[vci/script/reference/exportphotographycamera|ExportPhotographyCamera]] | [[vci/sample/cameraapi/camera]]| | + | | 写真を撮影 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportPhotographyCamera/index.html|ExportPhotographyCamera]] | [[vci/sample/cameraapi/camera]]| |
^ ゲームAPI ^ リファレンス ^ 対応サンプル ^ | ^ ゲームAPI ^ リファレンス ^ 対応サンプル ^ | ||
- | | 空中移動 | [[vci/script/reference/exportvc|ExportVc/ExportRoom]] \\ [[vci/script/reference/exportroomplayer|ExportRoomPlayer/Controller]] | [[vci/sample/gameapi/glider]]\\ [[vci/sample/gameapi/parasol]]\\ [[vci/sample/gameapi/floating]]| | + | | 空中移動 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportVc/index.html|ExportVc/ExportRoom]] \\ [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportRoomPlayer/index.html|ExportRoomPlayer/Controller]] | [[vci/sample/gameapi/glider]]\\ [[vci/sample/gameapi/parasol]]\\ [[vci/sample/gameapi/floating]]| |
- | | ワープ | [[vci/script/reference/exportroomplayer|ExportRoomPlayer/Controller]] | [[vci/sample/gameapi/teleportgun]]\\ [[vci/sample/gameapi/huttobaseedsan2]]| | + | | ワープ | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportRoomPlayer/index.html|ExportRoomPlayer/Controller]] | [[vci/sample/gameapi/teleportgun]]\\ [[vci/sample/gameapi/huttobaseedsan2]]| |
- | ^ VCI OSC API ^ リファレンス ^ 対応サンプル ^ | + | ^ VCI OSC API ^ リファレンス ^ 対応サンプル ^ |
- | |OSCメッセージの送受信|[[vci:script:reference:exportosc|ExportOsc]]|[[vci:sample:oscapi:top|VCI OSC API サンプル集]]| | + | |OSCメッセージの送受信|[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportOsc/index.html|ExportOsc]]|[[vci:sample:oscapi:top|VCI OSC API サンプル集]]| |
+ | ^ VCI ストレージ API ^ リファレンス ^ 対応サンプル ^ | ||
+ | |ルーム間ランキング|[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportStorage/index.html|ExportStorage]]|[[vci:sample:vcistorage:top|VCI ストレージ API サンプル集]]| | ||
+ | ^ ストリームカメラ API ^ リファレンス ^ 対応サンプル ^ | ||
+ | |ローカルストリームカメラの制御|[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportStreamCameraSystem/index.html|ExportStreamCameraSystem]] \\ [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportLocalStreamCamera/index.html|ExportLocalStreamCamera]]|[[vci:sample:streamcamera:followcam|追尾カメラ]]| | ||
===== 背景VCI ===== | ===== 背景VCI ===== | ||
ライン 123: | ライン 136: | ||
===== 複合サンプル ===== | ===== 複合サンプル ===== | ||
+ | |||
+ | * [[vci:sample:oncollision:no2]] | ||
+ | * [[vci:sample:shooting:no1| シューティングゲーム]] | ||
* [[vci/sample/gun]] | * [[vci/sample/gun]] | ||
- | * [[vci:sample:drone_creation_package| 飛行ドローン]] | ||
* [[vci/sample/ranking]] | * [[vci/sample/ranking]] | ||
- | * [[vci/sample/colorcontact]] | ||
- | ==== 上級者向け ==== | + | ==== パッケージの配布のみ ==== |
- | + | * [[vci:sample:drone_creation_package| 飛行ドローン]] | |
- | + | * [[vci/sample/colorcontact]] | |
- | * [[vci:sample:shooting:no1| シューティングゲーム]] | + | |
- | * [[vci:sample:game:no1| ちゃんばら(ビートセイバーモック)]] | + | |