LightRig
Genel Bakış
LightRig Java için FOSS’de bir sınıf. Mirasçılar: PVIObject, ILightRig.
3 boyutlu sahne için bir ışık donanımı temsil eder.
Bu sınıf, Java programlarında LightRig nesnelerle çalışmak için 12 yöntem sağlar. Kullanılabilir yöntemler şunlardır: LightRig, PVIObject, asIPresentationComponent, getDirection, getLightType, getPresentation, getRotation, getSlide, initInternal, setDirection, setLightType, setRotation. Tüm kamu üyeleri, Java için FOSS paketini yükledikten sonra herhangi bir Java uygulamasına erişilebilir. Özellikleri: direction, lightType, presentation, rotation, slide.
Özellikler
| Adı: | Tip: | Access | Açıklama: |
|---|---|---|---|
lightType | LightRigPresetType | Oku . | Işık türünü alır. |
direction | LightingDirection | Oku . | Yönü alır. |
rotation | double[] | Oku . | Dönüşü alır. |
slide | IBaseSlide | Oku . | Slaytı alır. |
presentation | IPresentation | Oku . | Sunumu alır. |
Yöntemler
| Signature | Açıklama: |
|---|---|
LightRig(scene3d: Element, saveCallback: Runnable) | Verilen scene3d unsuru ile desteklenen yeni bir LightRig oluşturur. |
initInternal(scene3dElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide) | Işık donanımının iç durumunu başlatır. |
getLightType() → LightRigPresetType | Işık tipi döndürüyor. |
setLightType(value: LightRigPresetType) | Işık türü değerini ayarlar. |
getDirection() → LightingDirection | Yönünü geri verir. |
setDirection(value: LightingDirection) | Yön değerini ayarlar. |
setRotation(latitude: double, longitude: double, revolution: double) | Dönme değerini ayarlar. |
getRotation() → double[] | Dönüşü geri verir. |
PVIObject() | Ana slaytı olmayan bir PVIOobject oluşturur. |
getSlide() → IBaseSlide | Çizgiyi geri gönderir. |
getPresentation() → IPresentation | Sunumunu geri gönderir. |
asIPresentationComponent() → IPresentationComponent | Bu nesneyi {@link IPresentationComponent} olarak gönderir. |