Partager via


SCNGeometry.ReplaceMaterial(nint, SCNMaterial) Méthode

Définition

[Foundation.Export("replaceMaterialAtIndex:withMaterial:")]
public virtual void ReplaceMaterial (nint materialIndex, SceneKit.SCNMaterial newMaterial);
abstract member ReplaceMaterial : nint * SceneKit.SCNMaterial -> unit
override this.ReplaceMaterial : nint * SceneKit.SCNMaterial -> unit

Paramètres

materialIndex
System.System.IntPtr System.nativeint
newMaterial
SCNMaterial
Attributs

S’applique à