API Documentation > Classes > Class wfcDisplay
Class wfcDisplay

package com.ptc.wfc.wfcDisplay;

public class
wfcDisplay


Description
Contains global CIP definitions for module "wfcDisplay"
User Guide References:
Method Summary
static Appearance
Appearance_Create (double Ambient, double Diffuse, double Highlight, double Shininess, double Transparency, ColorRGB RGBColor, ColorRGB HighlightColor, double Reflection, String Name, String Label, String Description, String Keywords)
Creates the Appearance properties
LightSourceInstruction_Create ( /*cipOptional*/ String inName, /*cipOptional*/ LightType inType, /*cipOptional*/ ColorRGB inColor, /*cipOptional*/ Boolean inIsActive)
Create a light source
static Texture
Texture_Create (TextureType Type, String FilePath, /*cipOptional*/ TexturePlacement Placement)
Creates the texture interface
TexturePlacement_Create (TextureProjectionType TextureProjectionType, Transform3D LocalSys, double HorizontalOffset, double VerticalOffset, double Rotate, double HorizontalScale, double VerticalScale, double BumpHeight, double DecalIntensity, boolean HorizontalFlip, boolean VerticalFlip)
Creates texture placement property
Method Detail
Appearance_Create
static Appearance
Appearance_Create
(double Ambient, double Diffuse, double Highlight, double Shininess, double Transparency, ColorRGB RGBColor, ColorRGB HighlightColor, double Reflection, String Name, String Label, String Description, String Keywords)
Creates the Appearance properties
Parameters:
Ambient
Ambient Color component Note Valid values are from 0.00 to 1.00.
Diffuse
Diffuse value Note Valid values are from 0.00 to 1.00.
Highlight
Highlight intensity Note Valid values are from 0.00 to 1.00.
Shininess
Shininess Note Valid values are from 0.00 to 1.00.
Transparency
Transparency of selected appearance Note Valid values are from 0.00 to 1.00.
RGBColor
Appearance color Note Valid values for each of RGB is from 0.00 to 1.00.
HighlightColor
Highlight color
Reflection
Reflective property of selected appearance Note Valid values are from 0.00 to 1.00.
Name
Appearance name
Label
Appearance label
Description
Appearance description
Keywords
Appearance keywords
Returns:
Handle to appearance properties
TexturePlacement_Create
TexturePlacement_Create
(TextureProjectionType TextureProjectionType, Transform3D LocalSys, double HorizontalOffset, double VerticalOffset, double Rotate, double HorizontalScale, double VerticalScale, double BumpHeight, double DecalIntensity, boolean HorizontalFlip, boolean VerticalFlip)
Creates texture placement property
Parameters:
TextureProjectionType
LocalSys
HorizontalOffset
VerticalOffset
Rotate
HorizontalScale
VerticalScale
BumpHeight
DecalIntensity
HorizontalFlip
VerticalFlip
Returns:
Handle to texture placement property
Texture_Create
static Texture
Texture_Create
(TextureType Type, String FilePath, /*cipOptional*/ TexturePlacement Placement)
Creates the texture interface
User Guide References:
Parameters:
Type
FilePath
Placement
Returns:
Handle to the texture interface
LightSourceInstruction_Create
LightSourceInstruction_Create
( /*cipOptional*/ String inName, /*cipOptional*/ LightType inType, /*cipOptional*/ ColorRGB inColor, /*cipOptional*/ Boolean inIsActive)
Create a light source
User Guide References:
Parameters:
inName
Name of the light. If null default name will be set
inType
Type of the light. If null wfcLIGHT_SPOT will be set
inColor
Color of the light. If null green color will be set
inIsActive
Active status of the light. If null light will be set to be activated
Returns:
Was this helpful?