Share via


SceneNode.FindFirstComponentOfType(SceneComponentType) 方法

定义

检索指定类型的第一个组件。

public:
 virtual SceneComponent ^ FindFirstComponentOfType(SceneComponentType value) = FindFirstComponentOfType;
SceneComponent FindFirstComponentOfType(SceneComponentType const& value);
public SceneComponent FindFirstComponentOfType(SceneComponentType value);
function findFirstComponentOfType(value)
Public Function FindFirstComponentOfType (value As SceneComponentType) As SceneComponent

参数

value
SceneComponentType

要查找的组件类型。

返回

指定类型的第一个组件(如果找到)。

适用于