Terrain コンポーネントは地形をレンダリングします。
activeTerrain | The active Terrain. This is a convenient function to get to the main Terrain in the Scene. |
activeTerrains | The active terrains in the Scene. |
compressedHolesFormat | Graphics format of the Terrain holes Texture when it is compressed. |
compressedHolesTextureFormat | Texture format of the Terrain holes Texture when it is compressed. |
heightmapFormat | Graphics format of the Terrain heightmap. |
heightmapRenderTextureFormat | RenderTextureFormat of the terrain heightmap. |
holesFormat | Graphics format of the Terrain holes Texture when it is not compressed. |
holesRenderTextureFormat | Render texture format of the Terrain holes Texture. |
normalmapFormat | Graphics format of the Terrain normal map texture. |
normalmapRenderTextureFormat | Render texture format of the Terrain normal map texture. |
normalmapTextureFormat | Texture format of the Terrain normal map texture. |
allowAutoConnect | Specifies if the terrain tile will be automatically connected to adjacent tiles. |
bakeLightProbesForTrees | 内部の Light Probe の配列は地形の樹木をベイクするべきかどうかを指定します。エディターでのみ使用できます。 |
basemapDistance | ベースマップの距離を超えているハイトマップパッチは事前に計算済みの低解像度のベースマップを使用します。 |
bottomNeighbor | Terrain bottom neighbor. |
collectDetailPatches | Collect detail patches from memory. |
deringLightProbesForTrees | Removes ringing from probes on trees if enabled. |
detailObjectDensity | ディテールオブジェクトの密度 |
detailObjectDistance | ディテールオブジェクトはこの距離まで表示されます。 |
drawHeightmap | Indicates whether Unity draws the Terrain geometry itself. |
drawInstanced | Set to true to enable the terrain instance renderer. The default value is false. |
drawTreesAndFoliage | 地形の樹木とディティールを描画するかどうかを指定します。 |
editorRenderFlags | Controls what part of the terrain should be rendered. |
freeUnusedRenderingResources | Whether some per-camera rendering resources for the terrain should be freed after not being used for some frames. |
groupingID | Grouping ID for auto connect. |
heightmapMaximumLOD | 基本的にレンダリングに使用されるハイトマップの解像度を下げることができます。 |
heightmapPixelError | LOD を切り替えるとき、最悪の場合、多くのピクセルは近似されて地形を表示します。 |
leftNeighbor | The Terrain tile to the left, which is in the negative X direction. |
lightmapIndex | この地形に適用されているベイクしたライトマップのインデックス |
lightmapScaleOffset | ベイクされたライトマップで使用される UV スケールとオフセット |
materialTemplate | The custom material Unity uses to render the Terrain. |
normalmapTexture | Returns the normal map texture computed from sampling the heightmap. It is only used when terrain is rendered using instancing. |
patchBoundsMultiplier | Set the terrain bounding box scale. |
preserveTreePrototypeLayers | Allows you to specify how Unity chooses the layer for tree instances. |
realtimeLightmapIndex | この地形に適用されているリアルタイムライトマップのインデックス |
realtimeLightmapScaleOffset | リアルタイムライトマップで使用される UV スケールとオフセット |
reflectionProbeUsage | 地形で Reflection Probe を使用する方法。 ReflectionProbeUsage を参照してください。 |
renderingLayerMask | Determines which rendering layers the Terrain renderer lives on. |
rightNeighbor | The Terrain tile to the left, which is in the positive X direction. |
shadowCastingMode | Allows you to set the shadow casting mode for the terrain. |
terrainData | ハイトマップ、地形テクスチャ、詳細メッシュや木を格納する Terrain データ |
topNeighbor | Terrain top neighbor. |
treeBillboardDistance | 木だけがビルボードとしてレンダリングされるカメラからの距離 |
treeCrossFadeLength | 樹木の総距離の差分はビルボードの向きからメッシュの向きに遷移するために使います。 |
treeDistance | 木がレンダリングされる最大の距離 |
treeLODBiasMultiplier | The multiplier to the current LOD bias used for rendering LOD trees (i.e. SpeedTree trees). |
treeMaximumFullLODCount | すべての LOD でレンダリングされる樹木の最大数 |
AddTreeInstance | 地形にツリーインスタンスを追加します。 |
Flush | 変更された地形を有効にするためにフラッシュします |
GetClosestReflectionProbes | Terrain の AABB と AABB と交差するリフレクションプローブのリストを満たします。そのウェイトも提供されます。 ウェイトはプローブが地形にどのくらい影響するかを示し、複数のリフレクションプローブ間のブレンドが発生したときに使用されます。 |
GetPosition | 地形の位置を取得します |
GetSplatMaterialPropertyBlock | Get the previously set splat material properties by copying to the dest MaterialPropertyBlock object. |
SampleHeight | Samples the height at the given position defined in world space, relative to the Terrain space. |
SetNeighbors | Lets you set up the connection between neighboring Terrain tiles. This ensures LOD matches up on neighboring Terrain tiles. |
SetSplatMaterialPropertyBlock | Set the additional material properties when rendering the terrain heightmap using the splat material. |
CreateTerrainGameObject | TerrainData オブジェクトから、コライダーを含む Terrain を作成します |
SetConnectivityDirty | Marks the current connectivity status as invalid. |
enabled | 有効であれば更新され、無効であれば更新されません。 |
isActiveAndEnabled | Has the Behaviour had active and enabled called? |
gameObject | このコンポーネントはゲームオブジェクトにアタッチされます。コンポーネントはいつもゲームオブジェクトにアタッチされています。 |
tag | ゲームオブジェクトのタグ |
transform | The Transform attached to this GameObject. |
hideFlags | Should the object be hidden, saved with the Scene or modifiable by the user? |
name | オブジェクト名 |
BroadcastMessage | ゲームオブジェクトまたは子オブジェクトにあるすべての MonoBehaviour を継承したクラスにある methodName 名のメソッドを呼び出します。 |
CompareTag | このゲームオブジェクトは tag とタグ付けされているかどうか |
GetComponent | Returns the component of Type type if the GameObject has one attached, null if it doesn't. Will also return disabled components. |
GetComponentInChildren | GameObject や深さ優先探索を活用して、親子関係にある子オブジェクトから type のタイプのコンポーネントを取得します。 |
GetComponentInParent | GameObject や深さ優先探索を活用して、親子関係にある親オブジェクトから type のタイプのコンポーネントを取得します。 |
GetComponents | GameObject から type のタイプのコンポーネントを「すべて」取得します。 |
GetComponentsInChildren | Returns all components of Type type in the GameObject or any of its children. Works recursively. |
GetComponentsInParent | GameObject や深さ優先探索を活用して、親子関係にある親オブジェクトから type のタイプのコンポーネントを「すべて」取得します。 |
SendMessage | ゲームオブジェクトにアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
SendMessageUpwards | ゲームオブジェクトと親(の親、さらに親 ... )にアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します |
TryGetComponent | Gets the component of the specified type, if it exists. |
GetInstanceID | オブジェクトのインスタンス ID を返します |
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.