C# Class SceneKitSessionWWDC2013.Utils

Inheritance: SCNNode
Show file Open project: xamarin/mac-samples

Public Methods

Method Description
SCAddChildNode ( SCNNode container, string name, string path, nfloat scale ) : SCNNode
SCArrowBezierPath ( CGSize baseSize, CGSize tipSize, nfloat hollow, bool twoSides ) : NSBezierPath
SCBoxNode ( string title, CGRect frame, NSColor color, float cornerRadius, bool centered ) : SCNNode
SCGaugeNode ( string title, SCNNode &progressNode ) : SCNNode
SCImageFromApplication ( string name ) : NSImage
SCLabelNode ( string message, LabelSize size, bool isLit ) : SCNNode
SCPlaneNode ( string path, float size, bool isLit ) : SCNNode
SCPlaneNodeWithImage ( NSImage image, nfloat size, bool isLit ) : SCNNode

Private Methods

Method Description
SCCopyWithResolution ( NSImage image, float size ) : NSImage

Method Details

SCAddChildNode() public static method

public static SCAddChildNode ( SCNNode container, string name, string path, nfloat scale ) : SCNNode
container SCNNode
name string
path string
scale nfloat
return SCNNode

SCArrowBezierPath() public static method

public static SCArrowBezierPath ( CGSize baseSize, CGSize tipSize, nfloat hollow, bool twoSides ) : NSBezierPath
baseSize CGSize
tipSize CGSize
hollow nfloat
twoSides bool
return NSBezierPath

SCBoxNode() public static method

public static SCBoxNode ( string title, CGRect frame, NSColor color, float cornerRadius, bool centered ) : SCNNode
title string
frame CGRect
color NSColor
cornerRadius float
centered bool
return SCNNode

SCGaugeNode() public static method

public static SCGaugeNode ( string title, SCNNode &progressNode ) : SCNNode
title string
progressNode SCNNode
return SCNNode

SCImageFromApplication() public static method

public static SCImageFromApplication ( string name ) : NSImage
name string
return NSImage

SCLabelNode() public static method

public static SCLabelNode ( string message, LabelSize size, bool isLit ) : SCNNode
message string
size LabelSize
isLit bool
return SCNNode

SCPlaneNode() public static method

public static SCPlaneNode ( string path, float size, bool isLit ) : SCNNode
path string
size float
isLit bool
return SCNNode

SCPlaneNodeWithImage() public static method

public static SCPlaneNodeWithImage ( NSImage image, nfloat size, bool isLit ) : SCNNode
image NSImage
size nfloat
isLit bool
return SCNNode