共用方式為


SCNGeometry.ReplaceMaterial(nint, SCNMaterial) 方法

定義

[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

參數

materialIndex
System.System.IntPtr System.nativeint
newMaterial
SCNMaterial
屬性

適用於