ExportAssets vci.assets#

class ExportAssets#

ExportAssets はその VCI インスタンスに含まれるアセットにアクセスできるオブジェクトです。
アセットには Transform や Audio、Animation などが含まれます。

vci モジュール内の path#
vci.assets

プロパティ

説明

IsMine

VCI全体の所有権を持つかどうか返します。

material

VCIに含まれるマテリアルの制御を提供します。

関数

説明

GetInstanceId

ExportMessage.EmitWithId() の引数に与えるIDを取得します。

GetTransform

ExportTransform を取得します。

GetSubItemAttractable

SubItem の引き寄せが可能かどうかを取得します

GetEffekseerEmitter

ExportEffekseer を取得します

GetEffekseerEmitters

ExportEffekseer を取得します

HapticPulseOnGrabbingController

Grab している手に対応するコントローラーを振動させます。

_ALL_HapticPulseOnGrabbingController

Grab している手に対応するコントローラーを振動させます。

HapticPulseOnTouchingController

アイテムに触れている手に対応するコントローラーを振動させます。

_ALL_HapticPulseOnTouchingController

アイテムに触れている手に対応するコントローラーを振動させます。

SetText

テキストを書き換えます。

_ALL_SetText

テキストを書き換えます。

SetSubItemAttractable

SubItem の引き寄せが可能かどうかを設定します

_ALL_SetSubItemAttractable

SubItem の引き寄せが可能かどうかを設定します

非推奨なプロパティ/関数

プロパティ

説明

audio

より新しい実装である ExportAudioSource の利用を推奨します。

関数

説明

GetSubItem

GetTransformを使用してください。

SetMaterialColorFromIndex

ExportMaterialを使用してください。

_ALL_SetMaterialColorFromIndex

ExportMaterialを使用してください。

SetMaterialColorFromName

ExportMaterialを使用してください。

_ALL_SetMaterialColorFromName

ExportMaterialを使用してください。

SetMaterialEmissionColorFromIndex

ExportMaterialを使用してください。

_ALL_SetMaterialEmissionColorFromIndex

ExportMaterialを使用してください。

SetMaterialEmissionColorFromName

ExportMaterialを使用してください。

_ALL_SetMaterialEmissionColorFromName

ExportMaterialを使用してください。

SetMaterialTextureOffsetFromIndex

ExportMaterialを使用してください。

_ALL_SetMaterialTextureOffsetFromIndex

ExportMaterialを使用してください。

SetMaterialTextureOffsetFromName

ExportMaterialを使用してください。

_ALL_SetMaterialTextureOffsetFromName

ExportMaterialを使用してください。

PlayAnimationFromIndex

ExportAnimationを使用してください。

_ALL_PlayAnimationFromIndex

ExportAnimationを使用してください。

PlayAnimationFromName

ExportAnimationを使用してください。

_ALL_PlayAnimationFromName

ExportAnimationを使用してください。

StopAnimation

ExportAnimationを使用してください。

_ALL_StopAnimation

ExportAnimationを使用してください。

PlayAudioFromIndex

ExportAudioSourceを使用してください。

_ALL_PlayAudioFromIndex

ExportAudioSourceを使用してください。

PlayAudioFromName

ExportAudioSourceを使用してください。

_ALL_PlayAudioFromName

ExportAudioSourceを使用してください。

PauseAudioFromIndex

ExportAudioSourceを使用してください。

_ALL_PauseAudioFromIndex

ExportAudioSourceを使用してください。

PauseAudioFromName

ExportAudioSourceを使用してください。

_ALL_PauseAudioFromName

ExportAudioSourceを使用してください。

StopAudioFromIndex

ExportAudioSourceを使用してください。

_ALL_StopAudioFromIndex

ExportAudioSourceを使用してください。

StopAudioFromName

ExportAudioSourceを使用してください。

_ALL_StopAudioFromName

ExportAudioSourceを使用してください。