Profile

Przegląd

Profile jest klasą w Aspose.3D FOSS dla Python. Dziedziczy po: Entity.

Profil 2D w płaszczyźnie xy.

Ta klasa deklaruje 7 metod dla obiektów Profil w programach Python. Dostępne metody to: __init__, find_property, get_bounding_box, get_entity_renderer_key, get_property, remove_property, set_property. Wszystkie publiczne elementy są dostępne dla każdej aplikacji Python po zainstalowaniu pakietu Aspose.3D FOSS dla Python. Właściwości: excluded, name, parent_node, parent_nodes, properties, scene.

Właściwości

NazwaTypDostępOpis
parent_nodesList['Node']OdczytPobiera węzły nadrzędne.
parent_nodeOptional['Node']Odczyt/zapisPobiera lub ustawia węzeł nadrzędny.
excludedboolOdczyt/zapisPobiera lub ustawia wykluczone.
scene``Odczyt/zapisPobiera lub ustawia scenę.
namestrOdczyt/zapisPobiera lub ustawia nazwę.
propertiesPropertyCollectionOdczytPobiera właściwości.

Metody

SygnaturaOpis
__init__(name: str)Calls init(name) w tej instancji Profilu.
get_entity_renderer_key()Zwraca klucz renderera encji.
get_bounding_box() → BoundingBoxNiezaimplementowane w edycji FOSS — rzuca w czasie wykonywania. Zwraca ramkę ograniczającą.
find_property(property_name: str)Wywołuje find_property(property_name) na tej instancji Profile.
get_property(property: str)Wywołuje get_property(property) na tej instancji Profile.
set_property(property: str, value)Ustawia wartość właściwości.
remove_property(property)Wywołuje remove_property(property) na tej instancji Profile.

Zobacz także

 Polski