com.aspose.slides

Interfaces

Classes

Exceptions

com.aspose.slides

Class LightRig

    • Method Detail

      • getLightType

        public final int getLightType()

        Represents a preset light right that can be applied to a shape. The light rig represents a group of lights oriented in a specific way relative to a 3D scene. Read/write LightRigPresetType.

        Specified by:
        getLightType in interface ILightRig
      • setLightType

        public final void setLightType(int value)

        Represents a preset light right that can be applied to a shape. The light rig represents a group of lights oriented in a specific way relative to a 3D scene. Read/write LightRigPresetType.

        Specified by:
        setLightType in interface ILightRig
      • setRotation

        public final void setRotation(float latitude,
                                      float longitude,
                                      float revolution)

        A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. If any of coordinate value is Float.NaN, all rotation is undefined.

        Specified by:
        setRotation in interface ILightRig
      • getRotation

        public final float[] getRotation()

        A rotation is defined through the use of a latitude coordinate, a longitude coordinate, and a revolution about the axis as the latitude and longitude coordinates. first element in return array - latitude, second - longitude, third - revolution. Returns null if no rotation defined.

        Specified by:
        getRotation in interface ILightRig