Version: 2018.2

ParticleSystemRenderer

class in UnityEngine

/

継承:Renderer

マニュアルに切り替える

説明

スクリーン上にパーティクルをレンダリングするためのクラスです。(シュリケン)

変数

activeVertexStreamsCountThe number of currently active custom vertex streams.
alignmentパーティクルの向く方向を管理します。
cameraVelocityScaleパーティクルが Camera の速度によって、どのくらい引き伸ばされるか。
enableGPUInstancingEnables GPU Instancing on platforms where it is supported.
lengthScale動きによってどのくらい引き伸ばすか
maskInteractionSpecifies how the Particle System Renderer interacts with SpriteMask.
maxParticleSizeパーティクルの大きさを制限する
meshビルボードテクスチャの代わりに、パーティクルに使用されるメッシュ
meshCountパーティクルのレンダリングに使用するメッシュの数。
minParticleSize制限で使用するパーティクルの最小サイズ。
normalDirectionビルボードパーティクルの法線をどのくらいの頻度でカメラに向けるか。
pivotパーティクルの回転に使用されるピボットポイントを修正します。
renderModeパーティクルがどのようにレンダリングされるか
sortingFudgeパーティクルシステムが透明なものを整理するよう偏らせます。
sortModeシステム内のパーティクルを整理します。
trailMaterialSet the material used by the Trail module for attaching trails to particles.
velocityScaleパーティクルが"どのくらい早く移動するか"によって、どのくらい引き伸ばされるかを設定します。

Public 関数

BakeMeshCreates a snapshot of ParticleSystemRenderer and stores it in mesh.
BakeTrailsMeshCreates a snapshot of ParticleSystem Trails and stores them in mesh.
GetActiveVertexStreamsQuery which vertex shader streams are enabled on the ParticleSystemRenderer.
GetMeshesGet the array of meshes to be used as particles.
SetActiveVertexStreamsEnable a set of vertex shader streams on the ParticleSystemRenderer.
SetMeshesSet an array of meshes to be used as particles when the ParticleSystemRenderer.renderMode is set to ParticleSystemRenderMode.Mesh.

継承メンバー

変数

gameObjectこのコンポーネントはゲームオブジェクトにアタッチされます。コンポーネントはいつもゲームオブジェクトにアタッチされています。
tagゲームオブジェクトのタグ
transformThe Transform attached to this GameObject.
hideFlagsShould the object be hidden, saved with the Scene or modifiable by the user?
nameオブジェクト名
allowOcclusionWhenDynamicControls if dynamic occlusion culling should be performed for this renderer.
boundsレンダラーのバウンディングボリューム(読み取り専用)
enabled有効にした場合、レンダリングされた 3D オブジェクトが表示されます
isPartOfStaticBatchレンダラーが静的にバッチ処理されているか
isVisibleカメラにレンダラーが表示されているか(読み取り専用)
lightmapIndexこのレンダラーに適用されるベイクされるライトマップのインデックス
lightmapScaleOffsetUV スケールとオフセットをライトマップに使用します。
lightProbeProxyVolumeOverrideこれを設定すると、レンダラーはソースのゲームオブジェクトにアタッチされた ライトプローブプロキシボリューム コンポーネントを使用します。
lightProbeUsageライトプローブ補間のタイプ
localToWorldMatrixローカル座標からワールド座標へ変換した行列(読み取り専用)
materialレンダラーに割り当てられている最初にインスタンス化された Material を返します。
materialsこのオブジェクトのすべてのインスタンス化されたマテリアルを返します。
motionVectorGenerationModeSpecifies the mode for motion vector rendering.
probeAnchor設定する場合、レンダラーはライトプローブや反射プローブを見つけるためにこの Transform の位置を使用します。
realtimeLightmapIndexこのレンダラーに適用されるリアルタイムライトマップのインデックス
realtimeLightmapScaleOffsetリアルタイムライトマップで使用される UV スケールとオフセット
receiveShadowsこのオブジェクトが影の影響を受けるかどうか
reflectionProbeUsage反射プローブはこのレンダラーのために使用する必要があるか。
renderingLayerMaskDetermines which rendering layer this renderer lives on.
shadowCastingModeこのオブジェクトが影をキャストするかどうか
sharedMaterialこのオブジェクトの共有マテリアル
sharedMaterialsこのオブジェクトのすべての共有マテリアル
sortingLayerIDレンダラーの Sorting Layer の Unique ID
sortingLayerNameレンダラーの Sorting Layer の名前
sortingOrderSorting Layer によるレンダラーのオーダー順
worldToLocalMatrixワールド座標からローカル座標へ変換した行列(読み取り専用)

Public 関数

BroadcastMessageゲームオブジェクトまたは子オブジェクトにあるすべての MonoBehaviour を継承したクラスにある methodName 名のメソッドを呼び出します。
CompareTagこのゲームオブジェクトは tag とタグ付けされているかどうか
GetComponentゲームオブジェクトに type がアタッチされている場合は type のタイプを使用してコンポーネントを返します。ない場合は null です
GetComponentInChildren GameObject や深さ優先探索を活用して、親子関係にある子オブジェクトから type のタイプのコンポーネントを取得します。
GetComponentInParent GameObject や深さ優先探索を活用して、親子関係にある親オブジェクトから type のタイプのコンポーネントを取得します。
GetComponents GameObject から type のタイプのコンポーネントを「すべて」取得します。
GetComponentsInChildren GameObject や深さ優先探索を活用して、親子関係にある子オブジェクトから type のタイプのコンポーネントを「すべて」取得します。
GetComponentsInParent GameObject や深さ優先探索を活用して、親子関係にある親オブジェクトから type のタイプのコンポーネントを「すべて」取得します。
SendMessageゲームオブジェクトにアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します
SendMessageUpwardsゲームオブジェクトと親(の親、さらに親 ... )にアタッチされているすべての MonoBehaviour にある methodName と名付けたメソッドを呼び出します
GetInstanceIDオブジェクトのインスタンス ID を返します
ToStringReturns the name of the GameObject.
GetClosestReflectionProbes重みを持つ最も近い反射プローブの配列を返します。重みはプローブがレンダラーでどのくらい影響するかを示しています。反射プローブが発生する間のブレンドにもこの値が使用されます。
GetMaterialsこのオブジェクトのすべてのインスタンス化されたマテリアルを返します。
GetPropertyBlockGet per-Renderer or per-Material property block.
GetSharedMaterialsReturns all the shared materials of this object.
HasPropertyBlockReturns true if the Renderer has a material property block attached via SetPropertyBlock.
SetPropertyBlockLets you set or clear per-renderer or per-material parameter overrides.

Static 関数

Destroyゲームオブジェクトやコンポーネント、アセットを削除します
DestroyImmediateDestroys the object obj immediately. You are strongly recommended to use Destroy instead.
DontDestroyOnLoadDo not destroy the target Object when loading a new Scene.
FindObjectOfTypeタイプ type から最初に見つけたアクティブのオブジェクトを返します
FindObjectsOfTypeタイプから見つけたすべてのアクティブのオブジェクト配列を返します
Instantiateoriginal のオブジェクトをクローンします

Operator

boolオブジェクトが存在するかどうか
operator !=二つのオブジェクトが異なるオブジェクトを参照しているか比較します
operator ==2つのオブジェクト参照が同じオブジェクトを参照しているか比較します。

メッセージ

OnBecameInvisible"OnBecameInvisible" は任意のカメラでオブジェクトが表示されなくなるときに呼び出されます。
OnBecameVisible"OnBecameVisible" は任意のカメラでオブジェクトが見えるようになったときに呼び出されます。