Library | Package Java Toolkit

Class LightType

package com.ptc.wfc.wfcDisplay;

public class LightType
  implements jxenum



Description

 



Field Summary
static final int_LIGHT_AMBIENT
    Integer value of enum value "LIGHT_AMBIENT"
     This type of light source cannot be set in Creo Session. It is a read only type
static final LightTypeLIGHT_AMBIENT
    Object value of enum value "LIGHT_AMBIENT"
     This type of light source cannot be set in Creo Session. It is a read only type
static final int_LIGHT_DIRECTION
    Integer value of enum value "LIGHT_DIRECTION"
    Equivalent to "distant" in Creo
static final LightTypeLIGHT_DIRECTION
    Object value of enum value "LIGHT_DIRECTION"
    Equivalent to "distant" in Creo
static final int_LIGHT_POINT
    Integer value of enum value "LIGHT_POINT"
    Equivalent to "lightbulb" in Creo
static final LightTypeLIGHT_POINT
    Object value of enum value "LIGHT_POINT"
    Equivalent to "lightbulb" in Creo
static final int_LIGHT_SPOT
    Integer value of enum value "LIGHT_SPOT"
    Equivalent to "spot" in Creo
static final LightTypeLIGHT_SPOT
    Object value of enum value "LIGHT_SPOT"
    Equivalent to "spot" in Creo
static final int_LIGHT_HDRI
    Integer value of enum value "LIGHT_HDRI"
     This type of light source cannot be set in Creo Session. It is a read only type
static final LightTypeLIGHT_HDRI
    Object value of enum value "LIGHT_HDRI"
     This type of light source cannot be set in Creo Session. It is a read only type
static final int_LightType_null
    Enum null value.

Method Summary
static LightTypeFromInt (int value)
    Creates enum object from an integer.
static LightTypeFromInt (Integer value)
    Creates enum object from an integer object.
intgetValue ()
    Returns enum object value as an integer.

Method Detail

getValue

intgetValue ()


    Returns enum object value as an integer.
Returns:
Integer enum value.


FromInt

static LightTypeFromInt (int value)


    Creates enum object from an integer.
Parameters:
value
Input integer value.
Returns:
Enum value object.


FromInt

static LightTypeFromInt (Integer value)


    Creates enum object from an integer object.
Parameters:
value
Input integer object.
Returns:
Enum value object.