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
| Name | Type | Access | Description |
|---|---|---|---|
count | number | Read | Indicates the total number of properties in the collection |
length | number | Read | Provides the length of the collection, equal to its property count |
Mètodes
| Signature | Description |
|---|---|
findProperty(propertyName: string) → `Property | null` |
get(property: string) → any | Returns the stored value of the specified property name |
| `removeProperty(property: string | Property)→boolean` |
getItem(key: number) → Property | Returns the Property located at the given numeric index |
[Symbol.iterator]() → Iterator<Property> | |
toString() → string | Returns a string representation of the property collection |