Ellipse

סקירה כללית

Ellipse היא מחלקה ב-Aspose.3D FOSS עבור Python. יורשת מ-: Primitive.

Ellipse.to_mesh() ממירה פרימיטיב של אליפסה לאובייקט Mesh שניתן להוסיף לסצנה.

מחלקה זו מגדירה 16 שיטות עבור אובייקטי Ellipse בתוכניות Python. השיטות הזמינות כוללות: __init__, add_element, create_element, create_element_uv, find_property, get_bounding_box, get_deformers, get_element, get_entity_renderer_key, get_property, get_vertex_element_of_uv, remove_property, ו-2 שיטות נוספות. כל החברים הציבוריים נגישים לכל יישום Python לאחר התקנת החבילה Aspose.3D FOSS עבור Python. מאפיינים: cast_shadows, control_points, deformers, excluded, name, parent_node, ועוד 11.

מאפיינים

שםסוגגישהתיאור
radius_xfloatקריאה/כתיבהמקבל או מגדיר את הרדיוס x.
radius_yfloatקריאה/כתיבהמקבל או מגדיר את רדיוס y.
segmentsintקריאה/כתיבהמקבל או מגדיר את הקטעים.
theta_startfloatקריאה/כתיבהמקבל או מגדיר את תחילת theta.
theta_lengthfloatקריאה/כתיבהמקבל או מגדיר את אורך theta.
cast_shadowsboolקריאה/כתיבהמקבל או מגדיר את הצללים המוטלים.
receive_shadowsboolקריאה/כתיבהמקבל או מגדיר את קבלת הצללים.
visibleboolקריאה/כתיבהמקבל או מגדיר את הנראות.
deformersList['Deformer']קריאהמקבל את המשנים.
vertex_elementsList['VertexElement']קריאהמקבל את רכיבי הקודקוד.
control_points'ArrayListAdapter[Vector4]'קריאהמקבל את נקודות הבקרה.
parent_nodesList['Node']קריאהמקבל את צמתי ההורה.
parent_nodeOptional['Node']קריאה/כתיבהמקבל או מגדיר את צומת האב.
excludedboolקריאה/כתיבהמקבל או מגדיר את ה-excluded.
scene``קריאה/כתיבהמקבל או מגדיר את הסצנה.
namestrקריאה/כתיבהמקבל או מגדיר את השם.
propertiesPropertyCollectionקריאהמקבל את המאפיינים.

שיטות

חתימהתיאור
__init__(name: str, radius_x: float, radius_y: float, segments: int, theta_start: float, theta_length: float)Calls init(name, radius_x, radius_y, segments, theta_start, theta_length) במופע Ellipse זה.
to_mesh() → 'Mesh'ממיר פרימיטיב של אליפסה לאובייקט Mesh שניתן להוסיף לסצנה
__init__(name: str)Calls init(name) במופע Ellipse זה.
get_deformers(deformer_type: type) → List['Deformer']מקבל את כל ה-deformers מהסוג שצוין, או את כל ה-deformers אם לא צוין סוג.
create_element(element_type: 'VertexElementType', mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') → 'VertexElement'קורא ל-create_element(element_type, mapping_mode, reference_mode) על מופע ה-Ellipse הזה.
create_element_uv(uv_mapping: 'TextureMapping', mapping_mode: 'MappingMode', reference_mode: 'ReferenceMode') → 'VertexElementUV'קורא ל-create_element_uv(uv_mapping, mapping_mode, reference_mode) על מופע ה-Ellipse הזה.
add_element(element: 'VertexElement')קורא ל-add_element(element) על מופע ה-Ellipse הזה.
get_element(element_type: 'VertexElementType')קורא ל-get_element(element_type) על מופע Ellipse זה.
get_vertex_element_of_uv(texture_mapping: 'TextureMapping') → Optional['VertexElementUV']קורא ל-get_vertex_element_of_uv(texture_mapping) על מופע Ellipse זה.
remove_property(property)קורא ל-remove_property(property) על מופע Ellipse זה.
remove_property(property_name: str)קורא ל-remove_property(property_name) על מופע Ellipse זה.
get_property(property: str)קורא ל-get_property(property) על מופע ה-Ellipse הזה.
set_property(property: str, value)מגדיר את ערך המאפיין.
find_property(property: str)קורא ל-find_property(property) על מופע ה-Ellipse הזה.
get_bounding_box()מחזיר את תיבת הגבול.
get_entity_renderer_key()לא ממומש בגרסת ה-FOSS — נזרק בזמן הריצה. מחזיר את מפתח הרנדרר של הישות.

ראה גם

 עברית