インプリシットなプリミティブをジオメトリ タイプに変換します。 結果として得られるプリミティブ オブジェクトが選択され、検証されます。
注: インプリシット プリミティブは、ジオメトリ タイプと互換性を持っている必要があります。
Convert( Target, Source ); |
| パラメータ | タイプ | 説明 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Target | 文字列 |
出力ジオメトリのタイプ
|
||||||||||
| Source | 文字列 | 変換するプリミティブの名前 |
'This example shows how to convert an implicit sphere to an explicit mesh sphere
newscene
'Create implicit
set oImplicitSphere = GetPrim("Sphere")
'Implicit sphere becomes a mesh sphere.
Convert "MeshSurface", oImplicitSphere |