オーディオのデータが格納されています。
An AudioClip stores the audio file either compressed as ogg vorbis or uncompressed.
AudioClips are referenced and used by AudioSources to play sounds.
関連項目: コンポーネントリファレンスの AudioClip コンポーネント を参照してください。
ambisonic | Returns true if this audio clip is ambisonic (read-only). |
channels | AudioClip のチャンネル(読み取り専用) |
frequency | ヘルツ単位のクリップのサンプル周波数(読み取り専用) |
length | 秒単位の AudioClip オブジェクトの長さ(読み取り専用) |
loadInBackground | インスペクターの "Load In Background" フラグに対応しています。このフラグが設定されていると、主要スレッドをブロックすることなくローディングが遅延されて起こります。 |
loadState | AudioClip に関連付けられたオーディオデータのその時点での読み込み状況を返します。 |
loadType | クリップの読み込みタイプ(読み取り専用) |
preloadAudioData | クリップアセットの読み込み時にオーディオデータをあらかじめ読み込みます。このフラグがオフの場合、スクリプトが AudioClip.LoadAudioData() を呼び出すことでデータが読み込まれて初めてクリップが再生できます。長さやチャンネル、形式などのプロパティーには、オーディオデータの読み込みが完了していなくてもアクセス可能です。 |
samples | オーディオクリップのサンプル数(読み取り専用) |
GetData | クリップからサンプルデータの配列を取得します。 |
LoadAudioData | クリップのオーディオデータを読み込みます。"Preload Audio Data" が設定されているクリップは、オーディオデータを自動的に読み込みます。 |
SetData | クリップにサンプルデータを設定します。 |
UnloadAudioData | クリップに関連付けられたオーディオデータをアンロードします。実際のサウンドファイルアセットに基づく AudioClip にのみ機能します。 |
Create | 名前、与えられたサンプルの長さ、チャンネル、周波数からユーザーが AudioClip を作成します。 |
PCMReaderCallback | AudioClip のデータを読み取るときに毎回呼び出されるデリゲートです。 |
PCMSetPositionCallback | AudioClip の読み取り位置が変更されたときに毎回呼び出されるデリゲートです。 |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | オブジェクト名 |
GetInstanceID | Gets the instance ID of the object. |
ToString | Returns the name of the object. |
Destroy | Removes a GameObject, component or asset. |
DestroyImmediate | Destroys the object obj immediately. You are strongly recommended to use Destroy instead. |
DontDestroyOnLoad | Do not destroy the target Object when loading a new Scene. |
FindObjectOfType | タイプ type から最初に見つけたアクティブのオブジェクトを返します |
FindObjectsOfType | Gets a list of all loaded objects of Type type. |
Instantiate | original のオブジェクトをクローンします |
bool | オブジェクトが存在するかどうか |
operator != | 二つのオブジェクトが異なるオブジェクトを参照しているか比較します |
operator == | 2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。 |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.