public class com.sun.scenario.effect.light.SpotLight extends com.sun.scenario.effect.light.PointLight
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.scenario.effect.light.SpotLight
super_class: com.sun.scenario.effect.light.PointLight
{
private float pointsAtX;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float pointsAtY;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float pointsAtZ;
descriptor: F
flags: (0x0002) ACC_PRIVATE
private float specularExponent;
descriptor: F
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=1, args_size=1
start local 0 0: aload 0
fconst_0
fconst_0
fconst_0
getstatic com.sun.scenario.effect.Color4f.WHITE:Lcom/sun/scenario/effect/Color4f;
invokespecial com.sun.scenario.effect.light.SpotLight.<init>:(FFFLcom/sun/scenario/effect/Color4f;)V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/effect/light/SpotLight;
public void <init>(float, float, float, com.sun.scenario.effect.Color4f);
descriptor: (FFFLcom/sun/scenario/effect/Color4f;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=5, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: aload 0
getstatic com.sun.scenario.effect.light.Light$Type.SPOT:Lcom/sun/scenario/effect/light/Light$Type;
fload 1
fload 2
fload 3
aload 4
invokespecial com.sun.scenario.effect.light.PointLight.<init>:(Lcom/sun/scenario/effect/light/Light$Type;FFFLcom/sun/scenario/effect/Color4f;)V
1: aload 0
fconst_0
putfield com.sun.scenario.effect.light.SpotLight.pointsAtX:F
2: aload 0
fconst_0
putfield com.sun.scenario.effect.light.SpotLight.pointsAtY:F
3: aload 0
fconst_0
putfield com.sun.scenario.effect.light.SpotLight.pointsAtZ:F
4: aload 0
fconst_1
putfield com.sun.scenario.effect.light.SpotLight.specularExponent:F
5: return
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lcom/sun/scenario/effect/light/SpotLight;
0 6 1 x F
0 6 2 y F
0 6 3 z F
0 6 4 color Lcom/sun/scenario/effect/Color4f;
MethodParameters:
Name Flags
x
y
z
color
public float getPointsAtX();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.SpotLight.pointsAtX:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/scenario/effect/light/SpotLight;
public void setPointsAtX(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
putfield com.sun.scenario.effect.light.SpotLight.pointsAtX:F
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/effect/light/SpotLight;
0 2 1 pointsAtX F
MethodParameters:
Name Flags
pointsAtX
public float getPointsAtY();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.SpotLight.pointsAtY:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/scenario/effect/light/SpotLight;
public void setPointsAtY(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
putfield com.sun.scenario.effect.light.SpotLight.pointsAtY:F
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/effect/light/SpotLight;
0 2 1 pointsAtY F
MethodParameters:
Name Flags
pointsAtY
public float getPointsAtZ();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.SpotLight.pointsAtZ:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/scenario/effect/light/SpotLight;
public void setPointsAtZ(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
fload 1
putfield com.sun.scenario.effect.light.SpotLight.pointsAtZ:F
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/scenario/effect/light/SpotLight;
0 2 1 pointsAtZ F
MethodParameters:
Name Flags
pointsAtZ
public float getSpecularExponent();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.SpotLight.specularExponent:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/scenario/effect/light/SpotLight;
public void setSpecularExponent(float);
descriptor: (F)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: fload 1
fconst_0
fcmpg
iflt 1
fload 1
ldc 4.0
fcmpl
ifle 2
1: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
ldc "Specular exponent must be in the range [0,4]"
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
2: StackMap locals:
StackMap stack:
aload 0
fload 1
putfield com.sun.scenario.effect.light.SpotLight.specularExponent:F
3: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/scenario/effect/light/SpotLight;
0 4 1 specularExponent F
MethodParameters:
Name Flags
specularExponent
public float[] getNormalizedLightPosition();
descriptor: ()[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.scenario.effect.light.SpotLight.getX:()F
fstore 1
start local 1 1: aload 0
invokevirtual com.sun.scenario.effect.light.SpotLight.getY:()F
fstore 2
start local 2 2: aload 0
invokevirtual com.sun.scenario.effect.light.SpotLight.getZ:()F
fstore 3
start local 3 3: fload 1
fload 1
fmul
fload 2
fload 2
fmul
fadd
fload 3
fload 3
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
fstore 4
start local 4 4: fload 4
fconst_0
fcmpl
ifne 5
fconst_1
fstore 4
5: StackMap locals: com.sun.scenario.effect.light.SpotLight float float float float
StackMap stack:
iconst_3
newarray 6
dup
iconst_0
fload 1
fload 4
fdiv
fastore
dup
iconst_1
fload 2
fload 4
fdiv
fastore
dup
iconst_2
fload 3
fload 4
fdiv
fastore
astore 5
start local 5 6: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/scenario/effect/light/SpotLight;
1 7 1 x F
2 7 2 y F
3 7 3 z F
4 7 4 len F
6 7 5 pos [F
public float[] getNormalizedLightDirection();
descriptor: ()[F
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=1
start local 0 0: aload 0
getfield com.sun.scenario.effect.light.SpotLight.pointsAtX:F
aload 0
invokevirtual com.sun.scenario.effect.light.SpotLight.getX:()F
fsub
fstore 1
start local 1 1: aload 0
getfield com.sun.scenario.effect.light.SpotLight.pointsAtY:F
aload 0
invokevirtual com.sun.scenario.effect.light.SpotLight.getY:()F
fsub
fstore 2
start local 2 2: aload 0
getfield com.sun.scenario.effect.light.SpotLight.pointsAtZ:F
aload 0
invokevirtual com.sun.scenario.effect.light.SpotLight.getZ:()F
fsub
fstore 3
start local 3 3: fload 1
fload 1
fmul
fload 2
fload 2
fmul
fadd
fload 3
fload 3
fmul
fadd
f2d
invokestatic java.lang.Math.sqrt:(D)D
d2f
fstore 4
start local 4 4: fload 4
fconst_0
fcmpl
ifne 5
fconst_1
fstore 4
5: StackMap locals: com.sun.scenario.effect.light.SpotLight float float float float
StackMap stack:
iconst_3
newarray 6
dup
iconst_0
fload 1
fload 4
fdiv
fastore
dup
iconst_1
fload 2
fload 4
fdiv
fastore
dup
iconst_2
fload 3
fload 4
fdiv
fastore
astore 5
start local 5 6: aload 5
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lcom/sun/scenario/effect/light/SpotLight;
1 7 1 sx F
2 7 2 sy F
3 7 3 sz F
4 7 4 len F
6 7 5 vec [F
}
SourceFile: "SpotLight.java"
InnerClasses:
public final Type = com.sun.scenario.effect.light.Light$Type of com.sun.scenario.effect.light.Light