~~NOTOC~~ ====== VCIサンプル一覧 ====== バーチャルキャストが公式で公開している**VCIサンプル**の一覧です。\\ こちらを改変して制作することが可能です。 ** [[#操作]] ** ** [[#移動・回転・拡縮]] ** ** [[#メディア]] ** ** [[#VCI独自機能]] ** ** [[#背景VCI]] ** ** [[#複合サンプル]] ** ===== 操作 ===== ^ アイテムが… ^ リファレンス ^ 対応サンプル ^ | 使われた時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onUse.html | onUse]] |[[vci:sample:onuse:hapticitem]]| | 何かに触れた時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onTriggerEnter.html | onTriggerEnter]] |[[vci:sample:ontrigger:no1| ボールが箱の中に入ったときや出たときに色を変える]]| | 物理的に衝突した時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onCollisionEnter.html | onCollisionEnter]]|[[vci:sample:oncollision:no1]]| | つかまれた時 | [[https://developer.virtualcast.jp/vci-docs/api/events/onGrab.html | onGrab]] |[[vci:sample:ongrab:no1| 風車をつかんだら回りはじめ、放すと止まる]]| ===== 移動・回転・拡縮 ===== ^ アイテム ^ リファレンス ^ 対応サンプル ^ | 移動させる |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetLocalPosition.html|SetLocalPosition]]|[[vci:sample:transform:no1]]| | 回転させる |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetLocalRotation.html|SetLocalRotation]]|[[vci:sample:transform:no2]]| | 拡縮させる |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetLocalScale.html|SetLocalScale]]|[[vci:sample:transform:no3]]\\ [[vci:sample:onuse:no4]]| | 位置を戻す |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetVelocity.html|SetVelocity]]|[[vci:sample:onuse:no1]]| | 親子関係を再現 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/SetPosition.html|SetPosition]]|[[vci:sample:transform:no4]]| |matrix4x4を使って移動 |[[https://developer.virtualcast.jp/vci-docs/api/classes/Matrix4x4/index.html|Matrix4x4]]|[[vci/sample/mat4]]| | Lerpを使って移動 |[[https://developer.virtualcast.jp/vci-docs/api/classes/Vector3/Lerp.html|Lerp]]|[[vci/sample/lerpmotion]]| ===== メディア ===== ^ アニメーション ^ リファレンス ^ 対応サンプル ^ | 再生 |[[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]]| ^ オーディオ ^ リファレンス ^ 対応サンプル ^ | 再生 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAudioSource/index.html|ExportAudioSource]]|[[vci:sample:audio:tutorial]]| | スケジュール再生 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAudioSource/PlayScheduled.html|PlayScheduled]]|[[vci/sample/audio/playscheduled]]| ^ マテリアル ^ リファレンス ^ 対応サンプル ^ | 画像を設定 |なし|[[vci:sample:image:tutorial]]| |色を変更 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportMaterial/SetColorFromIndex.html|SetColorFromIndex]]|[[vci:sample:material:colorchange]]| | 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]]| ^ エフェクト ^ リファレンス ^ 対応サンプル ^ | 再生 |[[https://developer.virtualcast.jp/vci-docs/api/classes/ExportEffekseer/index.html|ExportEffekseer]]|[[vci:sample:effect]]| ^ テキスト ^ リファレンス ^ 対応サンプル ^ | 表示 |[[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| サンドバッグ]]| ^ VCISpringBone ^ リファレンス ^ 対応サンプル ^ | 揺れもの |なし|[[vci:sample:springbone:springbonetest]]]]| ===== VCI独自機能 ===== ^ メッセージ ^ リファレンス ^ 対応サンプル ^ | 送信/受信 | [[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/script/reference/messagecomment]]\\ [[vci:sample:message:tarai]] | | ::: |[[https://developer.virtualcast.jp/vci-docs/manual/studio_notification/entry_exit.html|入退室通知]] | [[vci:sample:message:entrynotification]] | ^ 同期変数 ^ リファレンス ^ 対応サンプル ^ | アイテム内同期 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportState/index.html|ExportState]] | [[vci:sample:material:light]]\\ [[vci/sample/stateapi/state]]| ^ スタジオアイテム  ^ リファレンス ^ 対応サンプル ^ | 操作 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportStudio/index.html|ExportStudio]] | [[vci:sample:systemitem:commentcamera]]\\ [[vci:sample:systemitem:livecamera]] | ^ 装着アイテム ^ リファレンス ^ 対応サンプル ^ | 装着 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportTransform/AttachToAvatar.html|AttachToAvatar]] | [[vci/sample/attachable]] | ^ キーボード ^ リファレンス ^ 対応サンプル ^ | 入力 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportMe/index.html|ExportMe]] | [[vci:sample:Input:sample1]]| ^ アバター ^ リファレンス ^ 対応サンプル ^ | 基準に制御 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportAvatar/index.html|ExportAvatar]] | [[vci:sample:avatar:cameraswitcher]]| ^ カメラAPI ^ リファレンス ^ 対応サンプル ^ | 写真を撮影 | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportPhotographyCamera/index.html|ExportPhotographyCamera]] | [[vci/sample/cameraapi/camera]]| ^ ゲームAPI ^ リファレンス ^ 対応サンプル ^ | 空中移動 | [[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]]| | ワープ | [[https://developer.virtualcast.jp/vci-docs/api/classes/ExportRoomPlayer/index.html|ExportRoomPlayer/Controller]] | [[vci/sample/gameapi/teleportgun]]\\ [[vci/sample/gameapi/huttobaseedsan2]]| ^ 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/sample/loc/meshcollider]] | ===== 複合サンプル ===== * [[vci:sample:oncollision:no2]] * [[vci:sample:shooting:no1| シューティングゲーム]] * [[vci/sample/gun]] * [[vci/sample/ranking]] ==== パッケージの配布のみ ==== * [[vci:sample:drone_creation_package| 飛行ドローン]] * [[vci/sample/colorcontact]]