LightRig
Panoramica
LightRig è una classe in Aspose.Slides FOSS per Java. Eredita da: PVIObject, ILightRig.
Rappresenta un rig luminoso per una scena 3D.
Questa classe fornisce 12 metodi per lavorare con oggetti LightRig nei programmi Java. I metodi disponibili includono: LightRig, PVIObject, asIPresentationComponent, getDirection, getLightType, getPresentation, getRotation, getSlide, initInternal, setDirection, setLightType, setRotation. Tutti i membri pubblici sono accessibili a qualsiasi applicazione Java dopo aver installato il pacchetto Aspose.Slides FOSS per Java. Proprietà: direction, lightType, presentation, rotation, slide.
Proprietà
| Nome | Tipo | Accesso | Descrizione |
|---|---|---|---|
lightType | LightRigPresetType | Lettura | Ottiene il tipo di luce. |
direction | LightingDirection | Lettura | Ottiene la direzione. |
rotation | double[] | Lettura | Ottiene la rotazione. |
slide | IBaseSlide | Lettura | Ottiene la diapositiva. |
presentation | IPresentation | Lettura | Ottiene la presentazione. |
Metodi
| Firma | Descrizione |
|---|---|
LightRig(scene3d: Element, saveCallback: Runnable) | Crea un nuovo LightRig supportato dall’elemento scene3d fornito. |
initInternal(scene3dElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) | Inizializza lo stato interno per questo rig di luce. |
getLightType() → LightRigPresetType | Restituisce il tipo di luce. |
setLightType(value: LightRigPresetType) | Imposta il valore del tipo di luce. |
getDirection() → LightingDirection | Restituisce la direzione. |
setDirection(value: LightingDirection) | Imposta il valore della direzione. |
setRotation(latitude: double, longitude: double, revolution: double) | Imposta il valore di rotazione. |
getRotation() → double[] | Restituisce la rotazione. |
PVIObject() | Crea un PVIObject senza slide padre. |
getSlide() → IBaseSlide | Restituisce la slide. |
getPresentation() → IPresentation | Restituisce la presentazione. |
asIPresentationComponent() → IPresentationComponent | Restituisce questo oggetto come {@link IPresentationComponent}. |