SCNText.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Create(String, NFloat) |
Creates a new SCNText geometry from the specified string and extrusion depth. |
| Create(NSAttributedString, NFloat) |
Creates a new SCNText geometry from the specified attributed string and extrusion depth. |
| Create(NSObject, NFloat) |
Create(String, NFloat)
Creates a new SCNText geometry from the specified string and extrusion depth.
public static SceneKit.SCNText Create(string str, System.Runtime.InteropServices.NFloat extrusionDepth);
static member Create : string * System.Runtime.InteropServices.NFloat -> SceneKit.SCNText
Parameters
- str
- String
The text string to render.
- extrusionDepth
- NFloat
The extrusion depth.
Returns
Applies to
Create(NSAttributedString, NFloat)
Creates a new SCNText geometry from the specified attributed string and extrusion depth.
public static SceneKit.SCNText Create(Foundation.NSAttributedString attributedString, System.Runtime.InteropServices.NFloat extrusionDepth);
static member Create : Foundation.NSAttributedString * System.Runtime.InteropServices.NFloat -> SceneKit.SCNText
Parameters
- attributedString
- NSAttributedString
The attributed string to render.
- extrusionDepth
- NFloat
The extrusion depth.
Returns
Applies to
Create(NSObject, NFloat)
[Foundation.Export("textWithString:extrusionDepth:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SceneKit.SCNText Create(Foundation.NSObject? str, System.Runtime.InteropServices.NFloat extrusionDepth);
[<Foundation.Export("textWithString:extrusionDepth:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : Foundation.NSObject * System.Runtime.InteropServices.NFloat -> SceneKit.SCNText
Parameters
- str
- NSObject
- extrusionDepth
- NFloat
Returns
- Attributes