ClusterProperty_V1.ValueSize

説明

このクラスタプロパティの 1 つの値を格納するために使用されるスカラエレメントの数をIntegerとして戻します。戻されたサイズが 0 の場合は、このクラスタプロパティが値の取得/設定をサポートしていないことを意味します。

VBScript の例

CreatePrim "Grid", "MeshSurface"

'This create a texture property containing the projected U,V,W values

CreateTextureProj

'Select the newly created property

SelectObj "grid.polymsh.cls.Texture_Coordinates_AUTO.Texture_Projection"

'The current selection contains the newly created cluster property

set mySelList = GetValue("SelectionList")

set myItem = mySelList(0)

set myClusterProp = myItem.obj

myValSize = myClusterProp.ValueSize

LogMessage "Cluster_V1 Property [ " & myItem & " ] value size = " & myValSize

関連項目

ClusterProperty_V1.NbElements ClusterProperty_V1.ElementsValues ClusterProperty_V1.SetElementsValues ClusterProperty_V1