LightRig
סקירה כללית
LightRig הוא שיעור ב Aspose.Slides FOSS עבור Java. מורשת מ : PVIObject, ILightRig.
מציג רצועת אור עבור סצנה 3D.
שיעור זה מספק 12 שיטות לעבוד עם אובייקטים LightRig בתוכניות Java. שיטות זמינות כוללות: LightRig, PVIObject, asIPresentationComponent, getDirection, getLightType, getPresentation, getRotation, getSlide, initInternal, setDirection, setLightType, setRotation. כל החברים הציבוריים זמינים לכל יישום Java לאחר התקנת Aspose.Slides FOSS עבור חבילת Java. רכוש : direction, lightType, presentation, rotation, slide.
נכסים
| שם | סוג | גישה | תיאור |
|---|---|---|---|
lightType | LightRigPresetType | קראו | מקבל את סוג האור. |
direction | LightingDirection | קראו | מקבל את הכיוון. |
rotation | double[] | קראו | מקבל את הסיבוב. |
slide | IBaseSlide | קראו | מקבל את הסלילה. |
presentation | IPresentation | קראו | קבל את ההצגה. |
שיטות
| חתימה | תיאור |
|---|---|
LightRig(scene3d: Element, saveCallback: Runnable) | יצירת LightRig חדש תומך על ידי החלק של סצנה3d. |
initInternal(scene3dElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) | מתחיל את המצב הפנימי עבור רצועת האור הזו. |
getLightType() → LightRigPresetType | החזיר את סוג האור. |
setLightType(value: LightRigPresetType) | הגדרת ערך סוג האור. |
getDirection() → LightingDirection | חזרה לכיוון. |
setDirection(value: LightingDirection) | להגדיר את הערך של הכיוון. |
setRotation(latitude: double, longitude: double, revolution: double) | הגדרת ערך הסיבוב. |
getRotation() → double[] | החזיר את הסיבוב. |
PVIObject() | יצירת PVIObject ללא סליד הורים. |
getSlide() → IBaseSlide | חזר את הסלילה. |
getPresentation() → IPresentation | חזר את ההצגה. |
asIPresentationComponent() → IPresentationComponent | החזיר את האובייקט הזה כ {@link IPresentationComponent}. |