SceneKit 命名空間

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

類別

名稱 Description
_SCNShaderModifiers

著色器片段的字典。

SCNAccelerationConstraint

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNAction

對 執行動作 SCNNode,包括外觀、幾何、動畫或任意函數的變更。

SCNActionable

允許執行動作。

SCNAnimatable

允許套用動畫。

SCNAnimation

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNAnimationEvent

在動畫的特定時間執行一項功能。

SCNAnimationPlayer

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNAudioPlayer

按住 or SCNAudioSourceAVAudioNode 鍵,用於位置音效。

SCNAudioSource

SceneKit 場景中可重複使用的位置音訊來源。

SCNAvoidOccluderConstraint

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNAvoidOccluderConstraintDelegate

這是一個實作介面 ISCNAvoidOccluderConstraintDelegate (協定 SCNAvoidOccluderConstraintDelegate)的類別。

子類此類別,以便輕鬆建立實作該協定的型別。

另一種方法是建立 的 NSObject 子類別,然後實作介面 ISCNAvoidOccluderConstraintDelegate。

SCNAvoidOccluderConstraintDelegate_Extensions

介面擴充方法 ISCNAvoidOccluderConstraintDelegate 以支援 SCNAvoidOccluderConstraintDelegate 協定中的所有方法。

SCNBillboardConstraint

會自動限制 a SCNNode ,使其始終指向目前的渲染節點。

SCNBoundingVolume

定義三維空間體積的函數。

SCNBox

一個 SCNGeometry 臉全是長方形的。

SCNCamera

指定相機,具備視角與景深等屬性。

SCNCameraController

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNCameraControllerDelegate

這是一個實作介面 ISCNCameraControllerDelegate (協定 SCNCameraControllerDelegate)的類別。

子類此類別,以便輕鬆建立實作該協定的型別。

另一種方法是建立 的 NSObject 子類別,然後實作介面 ISCNCameraControllerDelegate。

SCNCameraControllerDelegate_Extensions

介面擴充方法 ISCNCameraControllerDelegate 以支援 SCNCameraControllerDelegate 協定中的所有方法。

SCNCapsule

那 SCNGeometry 是一個兩端有蓋的圓柱體。

SCNCone

那 SCNGeometry 是一個圓形的錐體。 或者,派對帽。

SCNConstraint

自動調整節點的轉換。

SCNCylinder

那 SCNGeometry 是一個直圓柱體。

SCNDistanceConstraint

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNErrorCodeExtensions

列舉的擴展方法 SCNErrorCode 。

SCNFloor

一個 SCNGeometry 是無限的平面。

SCNGeometry

SceneKit 幾何物件的基底類別

SCNGeometryElement

結合頂點資訊與繪圖原語。 映射到單一繪圖指令傳送到 GPU。

SCNGeometrySource

提供頂點資料,結合 SCNGeometryElements,定義一個 3D 物件。

SCNGeometrySourceSemantic

列舉頂點模式屬性。

SCNGeometryTessellator

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNHitTest

用於參數 的常數optionsHitTest(SCNVector3, SCNVector3, SCNHitTestOptions)。

SCNHitTestOptions

SCNNode 與 SCNSceneRenderer 中測試的設定選項

SCNHitTestResult

關於位於特定點或沿射線的 SCNNode(若有的話)的資訊。

SCNIKConstraint

一個 SCNConstraint 應用逆運動學的理論。

SCNJavaScript

靜態類別,包含匯出 JavaScript 模組的方法。

SCNLayer

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNLevelOfDetail

控制在世界空間或螢幕空間的閾值處渲染的交替幾何體。

SCNLight

一種光源,用於所有SCNLightTypes。

SCNLightAttribute

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNLightingModel

常數用於 LightingModelName 屬性,定義光源與材質如何結合產生特定渲染色彩。

SCNLightType

列舉了 的 SCNLight類型。

SCNLookAtConstraint

SCNConstraint An 將節點定向指向另一個節點。

SCNMaterial

指定SCNGeometry表面的光照與陰影特性。

SCNMaterialProperty

配置 的各種屬性(如顏色與質地)。SCNMaterial

SCNMorpher

將 SCNGeometry 動畫轉換成一個或多個目標 SCNGeometry 物件。

SCNNode

場景圖中的一個節點。

SCNNodeRendererDelegate

介面定義代理物件函式,用於新增自訂 OpenGL 繪圖程式碼。

SCNNodeRendererDelegate_Extensions

介面擴充方法 ISCNNodeRendererDelegate 以支援 SCNNodeRendererDelegate 協定中的所有方法。

SCNParticleProperty

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNParticlePropertyController

動畫化 SCNParticleSystem 所發射粒子的屬性。

SCNParticleSystem

會發出由開發者指定的小型精靈。

SCNPhysicsBallSocketJoint

SCNPhysicsBehavior 允許兩個 SCNPhysicsBody 物件互相旋轉。

SCNPhysicsBehavior

控制一個或多個 SCNPhysicsBody 物件的行為。

SCNPhysicsBody

為 SCNNode 加入物理模擬。

SCNPhysicsConeTwistJoint

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNPhysicsContact

兩個 SCNPhysicsBody 物件是如何彼此接觸的。

SCNPhysicsContactDelegate

委接物件函式以回應物件間 SCNPhysicsBody 的觸碰......

SCNPhysicsContactDelegate_Extensions

介面擴充方法 ISCNPhysicsContactDelegate 以支援 SCNPhysicsContactDelegate 協定中的所有方法。

SCNPhysicsContactEventArgs

根據 Objective-C 協定方法提供事件資料。

SCNPhysicsField

對同一體積內所有 SCNPhysicsBody 物件施加力。

SCNPhysicsHingeJoint

一個 SCNPhysicsBehavior,將兩個 SCNPhysicsBody 物件沿同一軸連接。

SCNPhysicsShape

SCNPhysicsBody 的穩健卷數。 用於碰撞偵測。

SCNPhysicsShapeOptions

有效金鑰用於 options 建立新 SCNPhysicsShape 實例。

SCNPhysicsShapeOptionsKeys

定義用於 options 傳遞給 Create(SCNGeometry, SCNPhysicsShapeOptions) 和 Create(SCNNode, SCNPhysicsShapeOptions) 的字典使用的有效金鑰。

SCNPhysicsShapeOptionsTypes

與 s 相關的 SCNPhysicsShape幾何型。

SCNPhysicsSliderJoint

SCNPhysicsBehavior 連接兩個 SCNPhysicsBody 物件,允許它們在連接點周圍滑動和旋轉。

SCNPhysicsTest

適用於 的有效選項 ContactTest(SCNPhysicsBody, SCNPhysicsBody, NSDictionary)。

SCNPhysicsTestKeys

包含控制搜尋、背面剔除及碰撞測試的值。

SCNPhysicsTestSearchModeKeys

列舉控制回傳碰撞搜尋結果的數值。

SCNPhysicsVehicle

一個模擬輪式車輛物理的SCNPhysicsBehavior。

SCNPhysicsVehicleWheel

SCNPhysicsVehicle 上輪子的外觀與物理特性。

SCNPhysicsWorld

一種物理模擬,在 SCNScene 中模擬碰撞及其他物理相關特性。

SCNPlane

一個 SCNGeometry 是一個矩形單邊有限平面。

SCNProgram

使用以 OpenGL 著色語言撰寫的著色器執行自訂渲染。

SCNProgramDelegate

將物件委派給 SCNProgram 物件。

SCNProgramDelegate_Extensions

介面擴充方法 ISCNProgramDelegate 以支援 SCNProgramDelegate 協定中的所有方法。

SCNProgramSemanticOptions

定義 用於 MappingChannel 。SetSemantic(NSString, String, SCNProgramSemanticOptions)

SCNPropertyControllers

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNPyramid

那 SCNGeometry 是一個直角長方形金字塔。

SCNReferenceNode

SCNNode A 是從場景檔載入內容的。

SCNRenderer

將 SCNScene 渲染成 OpenGL 情境。

SCNRenderingArguments

定義與 時的鍵Render(SCNNode, SCNRenderer, NSDictionary)SetSemantic(NSString, String, SCNProgramSemanticOptions)。

SCNRenderingOptions

DictionaryContainer A 定義options了實例SCNView化 。

SCNReplicatorConstraint

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNScene

這是 3D 場景的最高層次描述。

SCNSceneExportDelegate

定義處理場景匯出到檔案的方法的協定。

SCNSceneExportDelegate_Extensions

介面擴充方法 ISCNSceneExportDelegate ,以支援 SCNSceneExportDelegate 協定中的所有方法。

SCNSceneLoadingOptions

場景載入選項。

SCNSceneRenderer

介面的 ISCNSceneRenderer 實作類別。

SCNSceneRenderer_Extensions

介面擴充方法 ISCNSceneRenderer 以支援 SCNSceneRenderer 協定中的所有方法。

SCNSceneRendererDelegate

SCNRenderer 類別的 Delegate 物件,定義方法反映渲染事件。

SCNSceneRendererDelegate_Extensions

介面擴充方法 ISCNSceneRendererDelegate 以支援 SCNSceneRendererDelegate 協定中的所有方法。

SCNSceneSource

從檔案或 NSData 物件讀取場景定義資料。

SCNSceneSourceLoadErrors

列舉載入 SCNSceneSources 時可能發生的錯誤類型。

SCNSceneSourceLoading

建立與載入 SCNScene 物件的選項。

SCNSceneSourceProperties

與場景檔案相關的元資料金鑰。 與 GetProperty(NSString) 搭配使用。

SCNShadable

的實作 ISCNShadable。

SCNShadable_Extensions

介面擴充方法 ISCNShadable 以支援 SCNShadable 協定中的所有方法。

SCNShaderModifiers

A DictionaryContainer 包含著色器的選項。

SCNShape

A SCNGeometry 是從2D路徑創造出來的,並可選擇性地擠出到三維空間。

SCNSkinner

存取場景圖以支援骨骼動畫。

SCNSliderConstraint

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNSphere

那 SCNGeometry 是一個球體。

SCNTechnique

提供額外的繪圖通道,每個通道都會套用著色器。

SCNTechniqueSupport

該實作 ISCNTechniqueSupport 僅僅引用 SCNTechnique。

SCNText

SCNGeometry An 基於一條弦,並可選擇性地擠出到三維空間。

SCNTimingFunction

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNTorus

那 SCNGeometry 是一個環狀固體。

SCNTransaction

允許原子層面套用一組修改。

SCNTransformConstraint

一個 SCNConstraint 執行函數,指定節點轉換(位置、旋轉與縮放)的變更。

SCNTube

a SCNGeometry 是沿中心軸有圓孔的圓柱體。

SCNView

UIView A 會生成 SCNScenes。

SCNView.SCNViewAppearance

類型為 SCNView的物件的外觀類別。

結構

名稱 Description
SCNMatrix4

表示一個使用 欄位主記憶體配置的 4x4 矩陣。

SCNQuaternion

代表一個四元數。

SCNVector3

表示使用三個單精度浮點數的三維向量。

SCNVector4

表示使用四個單精度浮點數的四維向量。

介面

名稱 Description
ISCNActionable

允許執行動作。

ISCNAnimatable

允許套用動畫。

ISCNAnimationProtocol

此介面代表 Objective-C 協定 SCNAnimation。

ISCNAvoidOccluderConstraintDelegate

此介面代表 Objective-C 協定 SCNAvoidOccluderConstraintDelegate。

ISCNBoundingVolume

定義三維空間體積的函數。

ISCNBufferStream

管理自訂著色器的 Metal 緩衝區介面。

ISCNCameraControlConfiguration

此介面代表 Objective-C 協定 SCNCameraControlConfiguration。

ISCNCameraControllerDelegate

此介面代表 Objective-C 協定 SCNCameraControllerDelegate。

ISCNNodeRendererDelegate

介面定義代理物件函式,用於新增自訂 OpenGL 繪圖程式碼。

ISCNPhysicsContactDelegate

委接物件函式以回應物件間 SCNPhysicsBody 的觸碰......

ISCNProgramDelegate

將物件委派給 SCNProgram 物件。

ISCNSceneExportDelegate

定義處理場景匯出到檔案的方法的協定。

ISCNSceneRenderer

介面的 ISCNSceneRenderer 實作類別。

ISCNSceneRendererDelegate

SCNRenderer 類別的 Delegate 物件,定義方法反映渲染事件。

ISCNShadable

的實作 ISCNShadable。

ISCNTechniqueSupport

該實作 ISCNTechniqueSupport 僅僅引用 SCNTechnique。

列舉

名稱 Description
SCNActionTimingMode

為物件 SCNAction 列舉曲線。

SCNAnimationImportPolicy

列舉動畫匯入政策。

SCNAntialiasingMode

列舉控制抗鋸齒行為的數值。

SCNBillboardAxis

節點可使用的 SCNBillboardConstraint軸鎖的枚舉。

SCNBlendMode

列舉 SceneKit 如何將材質中的顏色與渲染目標中已有的顏色混合。

SCNBufferFrequency

列舉控制處理程序是每幀、每節點每幀,或每節點每幀、每個可渲染渲染的節點呼叫值。

SCNCameraProjectionDirection

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNChamferMode

列舉 a SCNShape 可以倒角的方式;無論是正面、背面還是兩側。

SCNColorMask

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNCullMode

列舉決定將渲染出哪些表面 SCNMaterial 。

SCNDebugOptions

列舉除錯覆蓋層選項。

SCNErrorCode

識別 SceneKit 回報的錯誤。

SCNFillMode

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNFilterMode

紋理過濾模式的列舉。

SCNGeometryPrimitiveType

二維幾何原語的枚舉。

SCNGeometrySourceSemantics

列舉幾何資料的語意。

SCNHitTestSearchMode

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNInteractionMode

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNLightAreaType

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNLightProbeType

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNLightProbeUpdateType

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNMorpherCalculationMode

有效插值公式 CalculationMode的枚舉。

SCNMovabilityHint

列舉數值,告訴 SceneKit 節點是否預期會隨時間移動。

SCNNodeFocusBehavior

列舉 的可聚焦態 SCNNode。

SCNParticleBirthDirection

枚舉由 SCNParticleSystem的粒子發射的初始方向。

SCNParticleBirthLocation

由 發射粒子的初始位置 SCNParticleSystem的枚舉。

SCNParticleBlendMode

列舉由 將 SCNParticleSystem 發射的重疊粒子呈現方式。

SCNParticleEvent

由 發射的粒子 SCNParticleSystem生命週期事件的枚舉。 與 HandleEvent(SCNParticleEvent, NSString[], SCNParticleEventHandler) 搭配使用。

SCNParticleImageSequenceAnimationMode

為 的播放模式 SCNParticleSystem列舉,其粒子以影像序列呈現。

SCNParticleInputMode

列舉粒子性質如何被動畫化(無論是粒子壽命、粒子移動距離,或基於其他性質)。 與 InputMode 搭配使用。

SCNParticleModifierStage

列舉應套用該 AddModifier(NSString[], SCNParticleModifierStage, SCNParticleModifierHandler) 修正符的時刻。

SCNParticleOrientationMode

列舉由 SCNParticleSystem發射的粒子排列。 與 OrientationMode 搭配使用。

SCNParticleSortingMode

列舉指定由 a SCNParticleSystem 發射的粒子呈現的順序。

SCNPhysicsBodyType

一個列舉,指定 是 SCNPhysicsBody 動態的、運動學的還是靜態的。 與 CreateBody(SCNPhysicsBodyType, SCNPhysicsShape) 搭配使用。

SCNPhysicsCollisionCategory

碰撞性質 SCNPhysicsBody的預設值。

SCNPhysicsFieldScope

列舉數值,指定 a SCNPhysicsField 影響其邊界內或外的物件。

SCNPhysicsSearchMode

列舉控制回傳哪些物理搜尋結果的值。

SCNPhysicsShapeType

s 的 SCNPhysicsShape類別枚舉。

SCNReferenceLoadingPolicy

列舉物件可能的載入政策 SCNReferenceNode 。

SCNRenderingApi

列舉代表 Metal 或 OpenGLES2 API 的數值。

SCNSceneSourceStatus

列舉 SCNSceneSource 的狀態。

SCNShadowMode

枚舉控制陰影計算時間。

SCNTessellationSmoothingMode

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNTransparencyMode

列舉計算透明度的技巧。

SCNWrapMode

列舉紋理包裹技術。

委派

名稱 Description
SCNActionNodeWithElapsedTimeHandler

與 搭配使用的 CustomAction(Double, SCNActionNodeWithElapsedTimeHandler)完備處理器。

SCNAnimationDidStartHandler

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNAnimationDidStopHandler

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNAnimationEventHandler

用於 Create(NFloat, SCNAnimationEventHandler)的完備處理程序。

SCNBindingHandler

與 搭配使用的 HandleBinding(String, SCNBindingHandler)完備處理器。

SCNBufferBindingHandler

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNFieldForceEvaluator

負責 CustomField(SCNFieldForceEvaluator) 方法。

SCNNodeHandler

SceneKit 命名空間提供高階、基於場景圖的 3D 圖形。

SCNNodePredicate

授權使用。FindNodes(SCNNodePredicate)

SCNParticleEventHandler

用於 HandleEvent(SCNParticleEvent, NSString[], SCNParticleEventHandler)的完備處理程序。

SCNParticleModifierHandler

代理人被用作 handler 。AddModifier(NSString[], SCNParticleModifierStage, SCNParticleModifierHandler)

SCNSceneExportProgressHandler

延續處理程式,SceneKit 在匯出場景時會反覆呼叫。

SCNSceneSourceFilter

委託人測試場景中的物件是否包含。

SCNSceneSourceStatusHandler

回調過去用來反映執行 SceneFromOptions(SCNSceneLoadingOptions, SCNSceneSourceStatusHandler)過程中的進度。

SCNTransformConstraintHandler

在呼叫時 Create(Boolean, SCNTransformConstraintHandler)使用的代理人。

備註

Scene Kit 是一個基於階層場景圖的 3D 圖形框架。

Scene Kit 的基本類別為 SCNScene,該類別包含所有內容,以及 SCNView,a UIView 一個能渲染 。SCNScene

An SCNScene 具有 RootNode 一種屬性 SCNNode為 。 SCNNode擁有 ChildNodes 並實作 System.Collections.Generic.IEnumerable`1<class SceneKit.SCNNode>。 的 SCNNode 性質包括 Camera,型別 SCNCamera、 Geometry,型別 SCNGeometry,且 Light,型別 SCNLight。

此外,每個 SCNNode 都具有 Position 定義相對於 SCNNode空間 ParentNode中位置的性質。 要定義節點的外觀,先將 a SCNGeometry 附加到節點(利用屬性 Geometry ),然後將物件加入 SCNMaterial 幾何體。

以下範例展示了最小的場景套件視圖:

public MySceneView (CGRect frame) : base(frame)
{
	BackgroundColor = UIColor.Blue;
	this.Scene = new SCNScene ();

	var material = new SCNMaterial ();
	material.Diffuse.Contents = UIImage.FromFile("textureX.png");
	material.Specular.Contents = UIColor.Gray;
	material.LocksAmbientWithDiffuse = true;

	Scene.RootNode.Geometry = new SCNBox {
		Width = 1,
		Height = 1,
		Length = 1,
		ChamferRadius = 0.2f,
		FirstMaterial = material
	};

	Scene.RootNode.Light = new SCNLight {
		LightType = SCNLightType.Ambient,
		Color = UIColor.Gray,
	};

	var camera = new SCNCamera ();
	var cameraNode = new SCNNode () {
		Camera = camera,
		Position = new SCNVector3 (3, 3, 3),
		Constraints = new SCNConstraint[] { SCNLookAtConstraint.Create(Scene.RootNode) }
	};
	Scene.RootNode.AddChildNode (cameraNode);
}

Geometry

SceneKit 中的所有幾何體皆由 的 SCNGeometry子類別描述:

SCNCapsule 一個帶可調端蓋的膠囊膠囊
SCNCone 一個頂部可以被截斷的錐體。
SCNBox 一個長方形的盒子。
SCNCylinder 圓柱圖。
SCNFloor 一個無限平面,能反射其上方的幾何形狀。
SCNPlane 一個單面長方形。
SCNPyramid 四面體。
SCNShape 一個被擠出到三維空間的二維形狀。
SCNSphere 一顆舞會。
SCNText 摘要。
SCNTorus 一個甜甜圈形狀。
SCNTube 一個沒蓋的圓筒。

此外,SceneKit 也能從 . 載入整個場景。DAE 檔案中也有該 FromFile 方法。

最後,開發者可利用此 Create 方法建立包含適當 SCNGeometrySource 與 SCNGeometryElement 物件陣列的自訂幾何體。 以下展示了自訂金字塔的創建過程:

//Lower-left
var a = new SCNVector3(-1, -1, 0);
//Upper-right
var b = new SCNVector3(1, 1, 0);

var halfX = (c.X + a.X) / 2;
var halfY = (c.Y + a.Y) / 2;
var halfZ = (c.Z + a.Z) / 2;

var b = new SCNVector3(a.X, c.Y, halfZ);
var d = new SCNVector3(c.X, a.Y, halfZ);
//Elevate the midpoint so that it's clearly a pyramid
var midPoint = new SCNVector3(halfX, halfY, halfZ + 1.0);

//The vertices of the geometry
var locs = new [] {
	a, b, c, d, midPoint
};
var locSource = SCNGeometrySource.FromVertices(locs);

//Note that this relies on the ordering of locs above
//and it defines triangles (could be triangle strips, etc.)
var indices = new [] {
	//Triangles are defined counter-clockwise!
	4, 1, 0,
	1, 4, 2,
	2, 4, 3,
	3, 4, 0
};


var idxArray = new byte[indices.Length][];
for(int i = 0; i < idxArray.Length; i++)
{
	idxArray[i] = BitConverter.GetBytes(indices[i]);
}
var idxData = NSData.FromArray(idxArray.SelectMany(id => id).ToArray());

//Note that this relies on indices defining triangles
var element = SCNGeometryElement.FromData(idxData, SCNGeometryPrimitiveType.Triangles, indices.Length / 3, sizeof(int));

//Normals are relative to geometry
var normals = new [] {
	new SCNVector3(0, 0, 1),
	new SCNVector3(0, 0, 1),
	new SCNVector3(0, 0, 1),
	new SCNVector3(0, 0, 1),
	new SCNVector3(0, 0, 1),
};
var normSource = SCNGeometrySource.FromNormals(normals);

//These texture coords will cause the texture to wrap 
var txCoords = new [] {
	new CGPoint(-1, -1),
	new CGPoint(-1, 1),
	new CGPoint(1, 1),
	new CGPoint(1, -1)
};

var txCoordsSource = SCNGeometrySource.FromTextureCoordinates(txCoords);

var geometry = SCNGeometry.Create(new [] { locSource, normSource, txCoordsSource }, new [] { element });