Geometry

المعلومات العامة

Geometry هي فئة في Aspose.3d لـ Typescript. الميراث من: Geometry, Entity.

Geometry.constructor creates a new Geometry instance with an optional name.

خصائص

اسمالنوعالوصولوصف
visiblebooleanاقرأيشير إلى ما إذا كانت الهندسة مرئية في المشهد.
castShadowsbooleanاقرأيحدد إذا كانت الهندسة تلقي الظلال أثناء التصوير.
receiveShadowsbooleanاقرأيحدد إذا كانت الهندسة تتلقى الظلال من الأجسام الأخرى.
vertexElementsVertexElement[]اقرأيحتوي على صف VertexElement الأجسام المرتبطة بالهندسة
controlPointsVector4[]اقرأتخزين قائمة نقاط التحكم في Vector4 التي تحدد قمم الهندسة.

الطرق

التوقيعوصف
`constructor(name: stringnull)`
addControlPoint(point: Vector4)يضيف نقطة فيكتور 4 إلى قائمة نقاط التحكم في الهندسة.
`createElement(elementType: VertexElementType, mappingMode: MappingModenull, referenceMode: ReferenceMode
`createElementUV(uvMapping: TextureMapping, mappingMode: MappingModenull, referenceMode: ReferenceMode
addElement(element: VertexElement)يضيف VertexElement المقدمة إلى مجموعة العناصر في الهندسة.
getElement(elementType: VertexElementType) → `VertexElementnull`
getVertexElementOfUV(textureMapping: TextureMapping) → `VertexElementUVnull`
`removeProperty(_prop: Propertystring)boolean`
getProperty(_property: string)anyيسترد قيمة العقار المسمي، أو غير محدد إذا كان غائباً.
setProperty(_property: string, _value: any)يعطي قيمة لاسم العقار المحدد
findProperty(_property: string) → `Propertynull`
getBoundingBox()anyيعيد الكائن المحدود للهيكلية
getEntityRendererKey()anyيوفر مفتاحاً يستخدم لعرض الكيان الهندسي
 العربية