MonoTouch.SceneKit Namespace

3D Graphics Based On Scene-Graphs.

Remarks

Scene Kit is a framework for 3D graphics, based on hierarchical scene-graphs.

The fundamental classes in Scene Kit are MonoTouch.SceneKit.SCNScene, which holds all content, and MonoTouch.CoreGraphics.SceneKit.SCNView, a MonoTouch.UIKit.UIView that renders an MonoTouch.SceneKit.SCNScene.

An MonoTouch.SceneKit.SCNScene has a MonoTouch.SceneKit.SCNScene.RootNode property of type MonoTouch.SceneKit.SCNNode. MonoTouch.SceneKit.SCNNode's have MonoTouch.SceneKit.SCNNode.ChildNodes and implement System.Collections.Generic.IEnumerable`1<class MonoTouch.SceneKit.SCNNode>. Properties of MonoTouch.SceneKit.SCNNode include MonoTouch.SceneKit.SCNNode.Camera, of type MonoTouch.SceneKit.SCNCamera, MonoTouch.SceneKit.SCNNode.Geometry, of type MonoTouch.SceneKit.SCNGeometry, and MonoTouch.SceneKit.SCNNode.Light, of type MonoTouch.SceneKit.SCNLight.

Additionally, every MonoTouch.SceneKit.SCNNode has a MonoTouch.SceneKit.SCNNode.Position property that defines a location in space relative to the MonoTouch.SceneKit.SCNNode's MonoTouch.SceneKit.SCNNode.ParentNode and MonoTouch.SceneKit.SCNNode.FirstMaterial and MonoTouch.SceneKit.SCNNode.Materials that create the MonoTouch.SceneKit.SCNNode's appearance.

The following example shows a minimal Scene Kit view:

C# Example

public MySceneView (RectangleF 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);
}          
          

Classes

TypeReason
_SCNShaderModifiersDocumentation for this section has not yet been entered.
ISCNActionableInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNActionable.
ISCNAnimatableInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNAnimatable.
ISCNBoundingVolumeInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNBoundingVolume.
ISCNNodeRendererDelegateInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNNodeRendererDelegate.
ISCNPhysicsContactDelegateInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNPhysicsContactDelegate.
ISCNProgramDelegateInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNProgramDelegate.
ISCNSceneRendererInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNSceneRenderer.
ISCNSceneRendererDelegateInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNSceneRendererDelegate.
ISCNShadableInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNShadable.
ISCNTechniqueSupportInterface representing the required methods (if any) of the protocol MonoTouch.SceneKit.SCNTechniqueSupport.
SCNActionPerforms actions on a MonoTouch.SceneKit.SCNNode, including changes to appearance, geometry, animations, or arbitrary functions.
SCNActionableAllows actions to be applied.
SCNActionNodeWithElapsedTimeHandlerCompletion handler used with MonoTouch.SceneKit.SCNAction.CustomAction.
SCNActionTimingModeEnumerates rate curves for use with MonoTouch.SceneKit.SCNAction objects.
SCNAnimatableAllows animations to be applied.
SCNAnimationEventPerforms a function at a specific time during an animation.
SCNAnimationEventHandlerCompletion handler for use with MonoTouch.SceneKit.SCNAnimationEvent.Create.
SCNAntialiasingModeEnumerates values that control antialiasing behavior.
SCNBindingHandlerCompletion handler used with MonoTouch.SceneKit.SCNShadable.HandleBinding.
SCNBoundingVolumeFunctions that define a volume in 3D space.
SCNBoxAn MonoTouch.SceneKit.SCNGeometry whose faces are all rectangles.
SCNCameraSpecifies a camera, with attributes such as field-of-view and depth-of-view.
SCNCapsuleAn MonoTouch.SceneKit.SCNGeometry that is a cylinder with capped ends.
SCNChamferModeEnumerates the ways a MonoTouch.SceneKit.SCNShape can be chamfered; on its front, back, or both sides.
SCNConeAn MonoTouch.SceneKit.SCNGeometry that is a circular frustum. Or, a party hat.
SCNConstraintAutomatically adjusts the transformation of a node.
SCNCullModeEnumeration determining which faces of a surface MonoTouch.SceneKit.SCNMaterial are rendered.
SCNCylinderAn MonoTouch.SceneKit.SCNGeometry that is a right circular cylinder.
SCNFieldForceEvaluatorDelegate for the MonoTouch.SceneKit.SCNPhysicsField.CustomField method.
SCNFilterModeEnumeration of texture filtering modes.
SCNFloorAn MonoTouch.SceneKit.SCNGeometry that is an infinite plane.
SCNGeometryA 3D shape.
SCNGeometryElementCombines information about vertices and a drawing primitive. Maps to a single drawing command sent to the GPU.
SCNGeometryPrimitiveTypeEnumeration of 2D geometry primitives.
SCNGeometrySourceProvides vertex data that, in conjunction with SCNGeometryElements, define a 3D object.
SCNGeometrySourceSemanticEnumerates vertex mode attributes.
SCNHitTestConstants for use with the options argument in MonoTouch.SceneKit.SCNNode.HitTest.
SCNHitTestOptionsConfiguration options for hit-testing in SCNNode and SCNSceneRenderer
SCNHitTestResultInformation about the SCNNode (if any) located at a specific point or along a ray.
SCNIKConstraintAn MonoTouch.SceneKit.SCNConstraint that applies inverse kinematics.
SCNJavaScriptStatic class that contains a method to export JavaScript modules.
SCNLevelOfDetailControls alternate geometries rendered at thresholds in either world-space or screen-space.
SCNLightA light source, used for all SCNLightTypes.
SCNLightingModelConstants for use with the MonoTouch.SceneKit.SCHMaterial.LightingModel property, which defines the way lights and materials combine to produce a particular rendered color.
SCNLightTypeEnumerates the types of MonoTouch.SceneKit.SCNLight.
SCNLookAtConstraintAn MonoTouch.SceneKit.SCNConstraint that orients a node to point towards another node.
SCNMaterialSpecifies the lighting and shading characteristics of the surface of an SCNGeometry.
SCNMaterialPropertyConfigures the various properties (such as color and texture) of a MonoTouch.SceneKit.SCNMaterial.
SCNMatrix4A 4x4 matrix.
SCNMorpherAn animated transformation of an SCNGeometry into one or more target SCNGeometry objects.
SCNMorpherCalculationModeEnumeration of valid interpolation formulae for MonoTouch.SceneKit.SCNMorpher.CalculationMode.
SCNNodeA node in the scene graph.
SCNNodePredicateDelegate for use with MonoTouch.SceneKit.SCNNode.EnumerateChildNodes.
SCNNodeRendererDelegateInterface defining delegate object functions for adding custom OpenGL drawing code.
SCNNodeRendererDelegate_ExtensionsExtension methods to the MonoTouch.SceneKit.ISCNNodeRendererDelegate interface to support all the methods from the MonoTouch.SceneKit.SCNNodeRendererDelegate protocol.
SCNParticleBirthDirectionEnumerates the initial direction of particles emitted by a MonoTouch.SceneKit.SCNParticleSystem.
SCNParticleBirthLocationEnumeration of the initial location of particles emitted by a MonoTouch.SceneKit.SCNParticleSystem.
SCNParticleBlendModeEnumeration of the ways in which overlapping particles emitted by a MonoTouch.SceneKit.SCNParticleSystem will be rendered.
SCNParticleEventEnumeration of lifecycle events for particles emitted by a MonoTouch.SceneKit.SCNParticleSystem. Used with MonoTouch.SceneKit.SCNParticleSystem.HandleEvent.
SCNParticleEventHandlerCompletion handler for use with MonoTouch.SceneKit.SCNParticleSystem.HandleEvent.
SCNParticleImageSequenceAnimationModeEnumeration of playing modes for MonoTouch.SceneKit.SCNParticleSystem's whose particles are rendered as a sequence of images.
SCNParticleInputModeEnumerates how a particle property is animated (over the lifetime of the particle, as the particle travels over a distance, or based on another property). Used with MonoTouch.SceneKit.SCNParticlePropertyController.InputMode.
SCNParticleModifierHandlerDelegate used as the handler in MonoTouch.SceneKit.SCNParticleSystem.AddModifier.
SCNParticleModifierStageEnumerates moments when the modifier specified in MonoTouch.SceneKit.SCNParticleSystem.AddModifier should be applied.
SCNParticleOrientationModeEnumerates the alignment of particles emitted by a MonoTouch.SceneKit.SCNParticleSystem. Used with MonoTouch.SceneKit.SCNParticleSystem.OrientationMode.
SCNParticlePropertyControllerAnimates a property of the particles emitted by a SCNParticleSystem.
SCNParticleSortingModeEnumeration specifying the order in which particles emitted by a MonoTouch.SceneKit.SCNParticleScene are rendered.
SCNParticleSystemEmits small sprites whose behaviors are developer-specified.
SCNPhysicsBallSocketJointAn SCNPhysicsBehavior that allows two SCNPhysicsBody objects to pivot around each other.
SCNPhysicsBehaviorControls the behavior of one or more SCNPhysicsBody objects.
SCNPhysicsBodyAdds physics simulation to an SCNNode.
SCNPhysicsBodyTypeAn enumeration specifying whether the MonoTouch.SceneKit.SCNPhysicsBody is dynamic, kinematic, or static. Used with MonoTouch.SceneKit.SCNPhysicsBody.CreateBody.
SCNPhysicsContactHow two SCNPhysicsBody objects are in contact with each other.
SCNPhysicsContactDelegateDelegate object functions responding to touches between MonoTouch.SceneKit.SCNPhysicsBody objects..
SCNPhysicsContactDelegate_ExtensionsExtension methods to the MonoTouch.SceneKit.ISCNPhysicsContactDelegate interface to support all the methods from the MonoTouch.SceneKit.SCNPhysicsContactDelegate protocol.
SCNPhysicsContactEventArgsProvides data for the MonoTouch.SceneKit.SCNPhysicsContactEventArgs.DidBeginContact, MonoTouch.SceneKit.SCNPhysicsContactEventArgs.DidEndContact and MonoTouch.SceneKit.SCNPhysicsContactEventArgs.DidUpdateContact events.
SCNPhysicsFieldApplies forces to all SCNPhysicsBody objects in a given volume.
SCNPhysicsFieldScopeEnumerates values specifying whether an MonoTouch.SceneKit.SCNPhysicsField affects objects inside or outside its border.
SCNPhysicsHingeJointAn SCNPhysicsBehavior that attaches two SCNPhysicsBody objects along a single axis.
SCNPhysicsSearchModeEnumerates values that control which physics search results are returned.
SCNPhysicsShapeA solid volume for a SCNPhysicsBody. Used in collision detection.
SCNPhysicsShapeOptionsValid keys for the options dictionary used with MonoTouch.SceneKit.SCNPhysicsShape.Create.
SCNPhysicsShapeOptionsKeysDefines valid keys for use with the options dictionary passed to MonoTouch.SceneKit.SCNPhysicsShape.Create.
SCNPhysicsShapeOptionsTypesGeometrical type associated with MonoTouch.SceneKit.SCNPhysicsShapes.
SCNPhysicsShapeTypeEnumeration of categories for MonoTouch.SceneKit.SCNPhysicsShapes.
SCNPhysicsSliderJointAn SCNPhysicsBehavior that connects two SCNPhysicsBody objects, allowing them to slide and rotate around their connecting points.
SCNPhysicsTestValid options for use with MonoTouch.SceneKit.SCNPhysicsWorld.ContactTest.
SCNPhysicsTestKeysContains values that control searching, backface culling, and collision testing.
SCNPhysicsTestSearchModeKeysEnumerates values that control which collision search results are returned.
SCNPhysicsVehicleAn SCNPhysicsBehavior that simulates the physics of a wheeled vehicle.
SCNPhysicsVehicleWheelThe appearance and physical characteristics of a wheel on a SCNPhysicsVehicle.
SCNPhysicsWorldA physics simulation that models collisions and other physics-related properties in an SCNScene.
SCNPlaneAn MonoTouch.SceneKit.SCNGeometry that is a rectangular single-sided finite plane.
SCNProgramPerforms custom rendering using shaders written in OpenGL Shading Language.
SCNProgramDelegateDelegate object for SCNProgram objects.
SCNProgramDelegate_ExtensionsExtension methods to the MonoTouch.SceneKit.ISCNProgramDelegate interface to support all the methods from the MonoTouch.SceneKit.SCNProgramDelegate protocol.
SCNProgramSemanticOptionsDefines the MonoTouch.SceneKit.SCNProgramSemanticOptions.MappingChannel for use with MonoTouch.SceneKit.SCNProgram.SetSemantic.
SCNPyramidAn MonoTouch.SceneKit.SCNGeometry that is a right rectangular pyramid.
SCNQuaternionRepresents a quaternion and contains methods that operate on them.
SCNRendererRenders an SCNScene into an OpenGL context.
SCNRenderingArgumentsDefines keys for use with MonoTouch.SceneKit.SCNNodeRendererDelegate.Render and MonoTouch.SceneKit.SCNProgram.SetSemantic.
SCNSceneThe highest-level description of a 3D scene.
SCNSceneLoadingOptionsOptions for scene loading.
SCNSceneRendererImplementation class of the MonoTouch.SceneKit.ISCNSceneRenderer interface.
SCNSceneRenderer_ExtensionsExtension methods to the MonoTouch.SceneKit.ISCNSceneRenderer interface to support all the methods from the MonoTouch.SceneKit.SCNSceneRenderer protocol.
SCNSceneRendererDelegateDelegate object for the SCNRenderer class, defines methods reflects rendering events.
SCNSceneRendererDelegate_ExtensionsExtension methods to the MonoTouch.SceneKit.ISCNSceneRendererDelegate interface to support all the methods from the MonoTouch.SceneKit.SCNSceneRendererDelegate protocol.
SCNSceneSourceReads scene-defining data from a file or NSData object.
SCNSceneSourceFilterDelegate that tests objects in the scene for inclusion.
SCNSceneSourceLoadErrorsEnumerates error types that can occur while loading MonoTouch.SceneKit.SCNSceneSources.
SCNSceneSourceLoadingOptions for creating and loading SCNScene objects.
SCNSceneSourcePropertiesMetadata keys associated with a scene file. Used with MonoTouch.SceneKit.SCNSceneSource.GetProperty.
SCNSceneSourceStatusEnumerates the states of an SCNSceneSource.
SCNSceneSourceStatusHandlerCallback used to reflect progress during execution of MonoTouch.SceneKit.SCNSceneSource.SceneFromOptions.
SCNShadableImplementation of SceneKit.ISCNShadable.
SCNShadable_ExtensionsExtension methods to the MonoTouch.SceneKit.ISCNShadable interface to support all the methods from the MonoTouch.SceneKit.SCNShadable protocol.
SCNShaderModifiersA MonoTouch.Foundation.DictionaryContainer containing options for shaders.
SCNShadowModeEnumeration controlling when shadows are calculated.
SCNShapeAn MonoTouch.SceneKit.SCNGeometry created from a 2D path, optionally extruded into three dimensions.
SCNSkinnerAccesses the scene graph in support of skeletal animation.
SCNSphereAn MonoTouch.SceneKit.SCNGeometry that is a sphere.
SCNTechniqueProvides additional drawing passes, each of which applies a shader.
SCNTechniqueSupportImplementation of MonoTouch.SceneKit.ISCNTechniqueSupport that simply holds a reference to the MonoTouch.SceneKit.SCNTechnique.
SCNTextAn MonoTouch.SceneKit.SCNGeometry based on a string, optionally extruded into three dimensions.
SCNTorusAn MonoTouch.SceneKit.SCNGeometry that is a ring-shaped solid.
SCNTransactionAllows a set of modifications to be applied atomically.
SCNTransformConstraintAn MonoTouch.SceneKit.SCNConstraint that executes a function specifying a change in transformation (position, rotation, and scale) to a node or nodes.
SCNTransformConstraintHandlerDelegate used in calls to MonoTouch.SceneKit.SCNTransformConstraint.Create.
SCNTransparencyModeEnumerates techniques for calculating transparency.
SCNTubeAn MonoTouch.SceneKit.SCNGeometry that is a cylinder with a hole along its central axis.
SCNVector3A 3-component vector.
SCNVector4A 4-component vector.
SCNViewA MonoTouch.UIKit.UIView that renders MonoTouch.SceneKit.SCNScenes.
SCNView+SCNViewAppearanceAppearance class for objects of type MonoTouch.SceneKit.SCNView.
SCNWrapModeEnumerates texture-wrapping techniques.