PropertyCollection

PropertyCollection

General

PropertyCollection és una classe de l’Aspose.3d per a Typescript. Hereta del: ゚PropertyCollection⌒ .

PropertyCollection permet adjuntar metadades personalitzades a qualsevol instància derivada d’un object A3DO mitjançant els mètodes setProperty i getP Property.

Propietats

NameTypeAccessDescription
countnumberReadIndicates the total number of properties in the collection
lengthnumberReadProvides the length of the collection, equal to its property count

Mètodes

SignatureDescription
findProperty(propertyName: string) → `Propertynull`
get(property: string) → anyReturns the stored value of the specified property name
`removeProperty(property: stringProperty)→boolean`
getItem(key: number) → PropertyReturns the Property located at the given numeric index
[Symbol.iterator]() → Iterator<Property>
toString() → stringReturns a string representation of the property collection
 Català