기술 자료

Unity Engine

Unity Engine

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

ancestor

The specific ancestor to find in the hierarchy.

Returns

Type

Description

boolTrue if the given material is an ancestor of this Material.

Remarks

This method is Editor-only.
Additional Resources: Material.parent.