Share via


SCNText.Create 方法

定义

重载

Create(String, nfloat)
Create(NSAttributedString, nfloat)
Create(NSObject, nfloat)

Create(String, nfloat)

public static SceneKit.SCNText Create (string str, nfloat extrusionDepth);
static member Create : string * nfloat -> SceneKit.SCNText

参数

str
String
extrusionDepth
nfloat

返回

适用于

Create(NSAttributedString, nfloat)

public static SceneKit.SCNText Create (Foundation.NSAttributedString attributedString, nfloat extrusionDepth);
static member Create : Foundation.NSAttributedString * nfloat -> SceneKit.SCNText

参数

attributedString
NSAttributedString
extrusionDepth
nfloat

返回

适用于

Create(NSObject, nfloat)

[Foundation.Export("textWithString:extrusionDepth:")]
public static SceneKit.SCNText Create (Foundation.NSObject str, nfloat extrusionDepth);
static member Create : Foundation.NSObject * nfloat -> SceneKit.SCNText

参数

str
NSObject
extrusionDepth
nfloat

返回

属性

适用于