IsChildOf(Material)
Returns True if the given material is an ancestor of this Material.
読み終わるまでの所要時間 1 分最終更新 20日前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool IsChildOf(Material ancestor)
Parameters
The specific ancestor to find in the hierarchy.
Returns
Type | Description |
|---|---|
| bool | True if the given material is an ancestor of this Material. |
Remarks
This method is Editor-only.
Additional Resources: Material.parent.