Navigation
Unreal Engine C++ API Reference > Plugins > AppleARKitFaceSupport > UAppleARKitFaceMeshComponent
- UPrimitiveComponent::SetMaterial()
- UMeshComponent::SetMaterial()
- UAppleARKitFaceMeshComponent::SetMaterial()
References
Module | AppleARKitFaceSupport |
Header | /Engine/Plugins/Runtime/AR/AppleAR/AppleARKitFaceSupport/Source/AppleARKitFaceSupport/Public/AppleARKitFaceMeshComponent.h |
Include | #include "AppleARKitFaceMeshComponent.h" |
Source | /Engine/Plugins/Runtime/AR/AppleAR/AppleARKitFaceSupport/Source/AppleARKitFaceSupport/Private/AppleARKitFaceMeshComponent.cpp |
virtual void SetMaterial
&40;
int32 ElementIndex,
class UMaterialInterface &42; Material
&41;
Remarks
Changes the material applied to an element of the mesh. the material used by the indexed element of this mesh.
Parameters
Name | Description |
---|---|
ElementIndex | The element to access the material of. |