public interface LightBuilder extends Builder
LightBuilder
ViewCollection.createLightBuilder(nxopen.Light)
Modifier and Type | Interface and Description |
---|---|
static class |
LightBuilder.LightMode
light_mode
|
static class |
LightBuilder.ShadowType
shadow types
|
Modifier and Type | Method and Description |
---|---|
double |
coneAngle()
Returns the cone angle - only applicable to spot light types
License requirements: None. |
Point |
destinationPosition()
Returns the destination position - only applicable to spot light types
License requirements: None. |
double |
intensity()
Returns the brightness intensity for a given light
License requirements: None. |
LightBuilder.ShadowType |
lightShadowType()
Returns the light shadow type - not applicable to ambient or eye light types
License requirements: None. |
LightType |
lightType()
Returns the light type for a particular light
License requirements: None. |
void |
setConeAngle(double coneAngle)
License requirements: None. |
void |
setDestinationPosition(Point destinationPosition)
License requirements: None. |
void |
setIntensity(double intensity)
License requirements: None. |
void |
setLightShadowType(LightBuilder.ShadowType lightShadowType)
License requirements: None. |
void |
setLightType(LightType lightType)
License requirements: None. |
void |
setSourcePosition(Point sourcePosition)
License requirements: None. |
void |
setUseWithAdvancedStudioImageBasedLighting(boolean useWithAdvancedStudioIBl)
License requirements: None. |
void |
setUseWithIbl(boolean useWithIBL)
Deprecated.
Deprecated in NX10.0.0. This funcationality is no longer supported.
|
void |
setUseWithRayTracedImageBasedLighting(boolean useWithRayTracedIBL)
License requirements: None. |
Point |
sourcePosition()
Returns the source position - only applicable to spot and point light types
License requirements: None. |
boolean |
useWithAdvancedStudioImageBasedLighting()
Returns the flag to indicate whether the given light is to be used with image based lighting in the advanced studio display.
|
boolean |
useWithIbl()
Deprecated.
Deprecated in NX10.0.0. This funcationality is no longer supported.
|
boolean |
useWithRayTracedImageBasedLighting()
Returns the flag to indicate whether the given light is to be used with image based lighting in ray traced rendering.
|
commit, destroy, getCommittedObjects, getObject, showResults
printTestData, printTestData, tag, tagValue
validate
LightType lightType() throws NXException, RemoteException
NXException
RemoteException
void setLightType(LightType lightType) throws NXException, RemoteException
lightType
- NXException
RemoteException
double intensity() throws NXException, RemoteException
NXException
RemoteException
void setIntensity(double intensity) throws NXException, RemoteException
intensity
- NXException
RemoteException
boolean useWithAdvancedStudioImageBasedLighting() throws NXException, RemoteException
NXException
RemoteException
boolean useWithIbl() throws NXException, RemoteException
NXException
RemoteException
void setUseWithAdvancedStudioImageBasedLighting(boolean useWithAdvancedStudioIBl) throws NXException, RemoteException
useWithAdvancedStudioIBl
- NXException
RemoteException
void setUseWithIbl(boolean useWithIBL) throws NXException, RemoteException
useWithIBL
- NXException
RemoteException
boolean useWithRayTracedImageBasedLighting() throws NXException, RemoteException
NXException
RemoteException
void setUseWithRayTracedImageBasedLighting(boolean useWithRayTracedIBL) throws NXException, RemoteException
useWithRayTracedIBL
- NXException
RemoteException
Point sourcePosition() throws NXException, RemoteException
NXException
RemoteException
void setSourcePosition(Point sourcePosition) throws NXException, RemoteException
sourcePosition
- NXException
RemoteException
Point destinationPosition() throws NXException, RemoteException
NXException
RemoteException
void setDestinationPosition(Point destinationPosition) throws NXException, RemoteException
destinationPosition
- NXException
RemoteException
double coneAngle() throws NXException, RemoteException
NXException
RemoteException
void setConeAngle(double coneAngle) throws NXException, RemoteException
coneAngle
- NXException
RemoteException
LightBuilder.ShadowType lightShadowType() throws NXException, RemoteException
NXException
RemoteException
void setLightShadowType(LightBuilder.ShadowType lightShadowType) throws NXException, RemoteException
lightShadowType
- NXException
RemoteException
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.