mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-27 10:29:09 -07:00
Add mostly deobfuscated package, class and function name source
This commit is contained in:
108
src/versions/version1/a3d/A3D.as
Normal file
108
src/versions/version1/a3d/A3D.as
Normal file
@@ -0,0 +1,108 @@
|
||||
package versions.version1.a3d
|
||||
{
|
||||
import versions.version1.a3d.geometry.A3DGeometry;
|
||||
import versions.version1.a3d.materials.A3DImage;
|
||||
import versions.version1.a3d.materials.A3DMap;
|
||||
import versions.version1.a3d.materials.A3DMaterial;
|
||||
import versions.version1.a3d.objects.A3DBox;
|
||||
import versions.version1.a3d.objects.A3DObject;
|
||||
|
||||
public class A3D
|
||||
{
|
||||
private var §_-0§:Vector.<A3DBox>;
|
||||
|
||||
private var OptionalMap:Vector.<A3DGeometry>;
|
||||
|
||||
private var §_-ce§:Vector.<A3DImage>;
|
||||
|
||||
private var §_-XJ§:Vector.<A3DMap>;
|
||||
|
||||
private var §_-22§:Vector.<A3DMaterial>;
|
||||
|
||||
private var §_-Kq§:Vector.<A3DObject>;
|
||||
|
||||
public function A3D(boxes:Vector.<A3DBox>, geometries:Vector.<A3DGeometry>, images:Vector.<A3DImage>, maps:Vector.<A3DMap>, materials:Vector.<A3DMaterial>, objects:Vector.<A3DObject>)
|
||||
{
|
||||
super();
|
||||
this.§_-0§ = boxes;
|
||||
this.OptionalMap = geometries;
|
||||
this.§_-ce§ = images;
|
||||
this.§_-XJ§ = maps;
|
||||
this.§_-22§ = materials;
|
||||
this.§_-Kq§ = objects;
|
||||
}
|
||||
|
||||
public function get boxes() : Vector.<A3DBox>
|
||||
{
|
||||
return this.§_-0§;
|
||||
}
|
||||
|
||||
public function set boxes(value:Vector.<A3DBox>) : void
|
||||
{
|
||||
this.§_-0§ = value;
|
||||
}
|
||||
|
||||
public function get geometries() : Vector.<A3DGeometry>
|
||||
{
|
||||
return this.OptionalMap;
|
||||
}
|
||||
|
||||
public function set geometries(value:Vector.<A3DGeometry>) : void
|
||||
{
|
||||
this.OptionalMap = value;
|
||||
}
|
||||
|
||||
public function get images() : Vector.<A3DImage>
|
||||
{
|
||||
return this.§_-ce§;
|
||||
}
|
||||
|
||||
public function set images(value:Vector.<A3DImage>) : void
|
||||
{
|
||||
this.§_-ce§ = value;
|
||||
}
|
||||
|
||||
public function get maps() : Vector.<A3DMap>
|
||||
{
|
||||
return this.§_-XJ§;
|
||||
}
|
||||
|
||||
public function set maps(value:Vector.<A3DMap>) : void
|
||||
{
|
||||
this.§_-XJ§ = value;
|
||||
}
|
||||
|
||||
public function get materials() : Vector.<A3DMaterial>
|
||||
{
|
||||
return this.§_-22§;
|
||||
}
|
||||
|
||||
public function set materials(value:Vector.<A3DMaterial>) : void
|
||||
{
|
||||
this.§_-22§ = value;
|
||||
}
|
||||
|
||||
public function get objects() : Vector.<A3DObject>
|
||||
{
|
||||
return this.§_-Kq§;
|
||||
}
|
||||
|
||||
public function set objects(value:Vector.<A3DObject>) : void
|
||||
{
|
||||
this.§_-Kq§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D [";
|
||||
result += "boxes = " + this.boxes + " ";
|
||||
result += "geometries = " + this.geometries + " ";
|
||||
result += "images = " + this.images + " ";
|
||||
result += "maps = " + this.maps + " ";
|
||||
result += "materials = " + this.materials + " ";
|
||||
result += "objects = " + this.objects + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
61
src/versions/version1/a3d/geometry/A3DGeometry.as
Normal file
61
src/versions/version1/a3d/geometry/A3DGeometry.as
Normal file
@@ -0,0 +1,61 @@
|
||||
package versions.version1.a3d.geometry
|
||||
{
|
||||
import commons.Id;
|
||||
|
||||
public class A3DGeometry
|
||||
{
|
||||
private var §_-3I§:Id;
|
||||
|
||||
private var §_-EM§:A3DIndexBuffer;
|
||||
|
||||
private var §_-0B§:Vector.<A3DVertexBuffer>;
|
||||
|
||||
public function A3DGeometry(id:Id, indexBuffer:A3DIndexBuffer, vertexBuffers:Vector.<A3DVertexBuffer>)
|
||||
{
|
||||
super();
|
||||
this.§_-3I§ = id;
|
||||
this.§_-EM§ = indexBuffer;
|
||||
this.§_-0B§ = vertexBuffers;
|
||||
}
|
||||
|
||||
public function get id() : Id
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Id) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get indexBuffer() : A3DIndexBuffer
|
||||
{
|
||||
return this.§_-EM§;
|
||||
}
|
||||
|
||||
public function set indexBuffer(value:A3DIndexBuffer) : void
|
||||
{
|
||||
this.§_-EM§ = value;
|
||||
}
|
||||
|
||||
public function get vertexBuffers() : Vector.<A3DVertexBuffer>
|
||||
{
|
||||
return this.§_-0B§;
|
||||
}
|
||||
|
||||
public function set vertexBuffers(value:Vector.<A3DVertexBuffer>) : void
|
||||
{
|
||||
this.§_-0B§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DGeometry [";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "indexBuffer = " + this.indexBuffer + " ";
|
||||
result += "vertexBuffers = " + this.vertexBuffers + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
47
src/versions/version1/a3d/geometry/A3DIndexBuffer.as
Normal file
47
src/versions/version1/a3d/geometry/A3DIndexBuffer.as
Normal file
@@ -0,0 +1,47 @@
|
||||
package versions.version1.a3d.geometry
|
||||
{
|
||||
import flash.utils.ByteArray;
|
||||
|
||||
public class A3DIndexBuffer
|
||||
{
|
||||
private var §_-79§:ByteArray;
|
||||
|
||||
private var §_-m0§:int;
|
||||
|
||||
public function A3DIndexBuffer(byteBuffer:ByteArray, indexCount:int)
|
||||
{
|
||||
super();
|
||||
this.§_-79§ = byteBuffer;
|
||||
this.§_-m0§ = indexCount;
|
||||
}
|
||||
|
||||
public function get byteBuffer() : ByteArray
|
||||
{
|
||||
return this.§_-79§;
|
||||
}
|
||||
|
||||
public function set byteBuffer(value:ByteArray) : void
|
||||
{
|
||||
this.§_-79§ = value;
|
||||
}
|
||||
|
||||
public function get indexCount() : int
|
||||
{
|
||||
return this.§_-m0§;
|
||||
}
|
||||
|
||||
public function set indexCount(value:int) : void
|
||||
{
|
||||
this.§_-m0§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DIndexBuffer [";
|
||||
result += "byteBuffer = " + this.byteBuffer + " ";
|
||||
result += "indexCount = " + this.indexCount + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
61
src/versions/version1/a3d/geometry/A3DVertexBuffer.as
Normal file
61
src/versions/version1/a3d/geometry/A3DVertexBuffer.as
Normal file
@@ -0,0 +1,61 @@
|
||||
package versions.version1.a3d.geometry
|
||||
{
|
||||
import flash.utils.ByteArray;
|
||||
|
||||
public class A3DVertexBuffer
|
||||
{
|
||||
private var §_-96§:Vector.<int>;
|
||||
|
||||
private var §_-79§:ByteArray;
|
||||
|
||||
private var §_-g1§:uint;
|
||||
|
||||
public function A3DVertexBuffer(attributes:Vector.<int>, byteBuffer:ByteArray, vertexCount:uint)
|
||||
{
|
||||
super();
|
||||
this.§_-96§ = attributes;
|
||||
this.§_-79§ = byteBuffer;
|
||||
this.§_-g1§ = vertexCount;
|
||||
}
|
||||
|
||||
public function get attributes() : Vector.<int>
|
||||
{
|
||||
return this.§_-96§;
|
||||
}
|
||||
|
||||
public function set attributes(value:Vector.<int>) : void
|
||||
{
|
||||
this.§_-96§ = value;
|
||||
}
|
||||
|
||||
public function get byteBuffer() : ByteArray
|
||||
{
|
||||
return this.§_-79§;
|
||||
}
|
||||
|
||||
public function set byteBuffer(value:ByteArray) : void
|
||||
{
|
||||
this.§_-79§ = value;
|
||||
}
|
||||
|
||||
public function get vertexCount() : uint
|
||||
{
|
||||
return this.§_-g1§;
|
||||
}
|
||||
|
||||
public function set vertexCount(value:uint) : void
|
||||
{
|
||||
this.§_-g1§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DVertexBuffer [";
|
||||
result += "attributes = " + this.attributes + " ";
|
||||
result += "byteBuffer = " + this.byteBuffer + " ";
|
||||
result += "vertexCount = " + this.vertexCount + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
31
src/versions/version1/a3d/id/ParentId.as
Normal file
31
src/versions/version1/a3d/id/ParentId.as
Normal file
@@ -0,0 +1,31 @@
|
||||
package versions.version1.a3d.id
|
||||
{
|
||||
public class ParentId
|
||||
{
|
||||
private var §_-3I§:uint;
|
||||
|
||||
public function ParentId(id:uint)
|
||||
{
|
||||
super();
|
||||
this.§_-3I§ = id;
|
||||
}
|
||||
|
||||
public function get id() : uint
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:uint) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "ParentId [";
|
||||
result += "id = " + this.id + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
47
src/versions/version1/a3d/materials/A3DImage.as
Normal file
47
src/versions/version1/a3d/materials/A3DImage.as
Normal file
@@ -0,0 +1,47 @@
|
||||
package versions.version1.a3d.materials
|
||||
{
|
||||
import commons.Id;
|
||||
|
||||
public class A3DImage
|
||||
{
|
||||
private var §_-3I§:Id;
|
||||
|
||||
private var §_-6D§:String;
|
||||
|
||||
public function A3DImage(id:Id, url:String)
|
||||
{
|
||||
super();
|
||||
this.§_-3I§ = id;
|
||||
this.§_-6D§ = url;
|
||||
}
|
||||
|
||||
public function get id() : Id
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Id) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get url() : String
|
||||
{
|
||||
return this.§_-6D§;
|
||||
}
|
||||
|
||||
public function set url(value:String) : void
|
||||
{
|
||||
this.§_-6D§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DImage [";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "url = " + this.url + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
117
src/versions/version1/a3d/materials/A3DMap.as
Normal file
117
src/versions/version1/a3d/materials/A3DMap.as
Normal file
@@ -0,0 +1,117 @@
|
||||
package versions.version1.a3d.materials
|
||||
{
|
||||
import commons.Id;
|
||||
|
||||
public class A3DMap
|
||||
{
|
||||
private var §_-9y§:uint;
|
||||
|
||||
private var §_-3I§:Id;
|
||||
|
||||
private var §_-JE§:Id;
|
||||
|
||||
private var §_-0U§:Number;
|
||||
|
||||
private var §_-5k§:Number;
|
||||
|
||||
private var §_-JZ§:Number;
|
||||
|
||||
private var §_-XP§:Number;
|
||||
|
||||
public function A3DMap(channel:uint, id:Id, imageId:Id, uOffset:Number, uScale:Number, vOffset:Number, vScale:Number)
|
||||
{
|
||||
super();
|
||||
this.§_-9y§ = channel;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-JE§ = imageId;
|
||||
this.§_-0U§ = uOffset;
|
||||
this.§_-5k§ = uScale;
|
||||
this.§_-JZ§ = vOffset;
|
||||
this.§_-XP§ = vScale;
|
||||
}
|
||||
|
||||
public function get channel() : uint
|
||||
{
|
||||
return this.§_-9y§;
|
||||
}
|
||||
|
||||
public function set channel(value:uint) : void
|
||||
{
|
||||
this.§_-9y§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Id
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Id) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get imageId() : Id
|
||||
{
|
||||
return this.§_-JE§;
|
||||
}
|
||||
|
||||
public function set imageId(value:Id) : void
|
||||
{
|
||||
this.§_-JE§ = value;
|
||||
}
|
||||
|
||||
public function get uOffset() : Number
|
||||
{
|
||||
return this.§_-0U§;
|
||||
}
|
||||
|
||||
public function set uOffset(value:Number) : void
|
||||
{
|
||||
this.§_-0U§ = value;
|
||||
}
|
||||
|
||||
public function get uScale() : Number
|
||||
{
|
||||
return this.§_-5k§;
|
||||
}
|
||||
|
||||
public function set uScale(value:Number) : void
|
||||
{
|
||||
this.§_-5k§ = value;
|
||||
}
|
||||
|
||||
public function get vOffset() : Number
|
||||
{
|
||||
return this.§_-JZ§;
|
||||
}
|
||||
|
||||
public function set vOffset(value:Number) : void
|
||||
{
|
||||
this.§_-JZ§ = value;
|
||||
}
|
||||
|
||||
public function get vScale() : Number
|
||||
{
|
||||
return this.§_-XP§;
|
||||
}
|
||||
|
||||
public function set vScale(value:Number) : void
|
||||
{
|
||||
this.§_-XP§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DMap [";
|
||||
result += "channel = " + this.channel + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "imageId = " + this.imageId + " ";
|
||||
result += "uOffset = " + this.uOffset + " ";
|
||||
result += "uScale = " + this.uScale + " ";
|
||||
result += "vOffset = " + this.vOffset + " ";
|
||||
result += "vScale = " + this.vScale + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
117
src/versions/version1/a3d/materials/A3DMaterial.as
Normal file
117
src/versions/version1/a3d/materials/A3DMaterial.as
Normal file
@@ -0,0 +1,117 @@
|
||||
package versions.version1.a3d.materials
|
||||
{
|
||||
import commons.Id;
|
||||
|
||||
public class A3DMaterial
|
||||
{
|
||||
private var §_-9s§:Id;
|
||||
|
||||
private var §_-bl§:Id;
|
||||
|
||||
private var §_-3I§:Id;
|
||||
|
||||
private var §_-qf§:Id;
|
||||
|
||||
private var §_-QR§:Id;
|
||||
|
||||
private var §_-Jn§:Id;
|
||||
|
||||
private var §_-LA§:Id;
|
||||
|
||||
public function A3DMaterial(diffuseMapId:Id, glossinessMapId:Id, id:Id, lightMapId:Id, normalMapId:Id, opacityMapId:Id, specularMapId:Id)
|
||||
{
|
||||
super();
|
||||
this.§_-9s§ = diffuseMapId;
|
||||
this.§_-bl§ = glossinessMapId;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-qf§ = lightMapId;
|
||||
this.§_-QR§ = normalMapId;
|
||||
this.§_-Jn§ = opacityMapId;
|
||||
this.§_-LA§ = specularMapId;
|
||||
}
|
||||
|
||||
public function get diffuseMapId() : Id
|
||||
{
|
||||
return this.§_-9s§;
|
||||
}
|
||||
|
||||
public function set diffuseMapId(value:Id) : void
|
||||
{
|
||||
this.§_-9s§ = value;
|
||||
}
|
||||
|
||||
public function get glossinessMapId() : Id
|
||||
{
|
||||
return this.§_-bl§;
|
||||
}
|
||||
|
||||
public function set glossinessMapId(value:Id) : void
|
||||
{
|
||||
this.§_-bl§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Id
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Id) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get lightMapId() : Id
|
||||
{
|
||||
return this.§_-qf§;
|
||||
}
|
||||
|
||||
public function set lightMapId(value:Id) : void
|
||||
{
|
||||
this.§_-qf§ = value;
|
||||
}
|
||||
|
||||
public function get normalMapId() : Id
|
||||
{
|
||||
return this.§_-QR§;
|
||||
}
|
||||
|
||||
public function set normalMapId(value:Id) : void
|
||||
{
|
||||
this.§_-QR§ = value;
|
||||
}
|
||||
|
||||
public function get opacityMapId() : Id
|
||||
{
|
||||
return this.§_-Jn§;
|
||||
}
|
||||
|
||||
public function set opacityMapId(value:Id) : void
|
||||
{
|
||||
this.§_-Jn§ = value;
|
||||
}
|
||||
|
||||
public function get specularMapId() : Id
|
||||
{
|
||||
return this.§_-LA§;
|
||||
}
|
||||
|
||||
public function set specularMapId(value:Id) : void
|
||||
{
|
||||
this.§_-LA§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DMaterial [";
|
||||
result += "diffuseMapId = " + this.diffuseMapId + " ";
|
||||
result += "glossinessMapId = " + this.glossinessMapId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "lightMapId = " + this.lightMapId + " ";
|
||||
result += "normalMapId = " + this.normalMapId + " ";
|
||||
result += "opacityMapId = " + this.opacityMapId + " ";
|
||||
result += "specularMapId = " + this.specularMapId + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
47
src/versions/version1/a3d/objects/A3DBox.as
Normal file
47
src/versions/version1/a3d/objects/A3DBox.as
Normal file
@@ -0,0 +1,47 @@
|
||||
package versions.version1.a3d.objects
|
||||
{
|
||||
import commons.Id;
|
||||
|
||||
public class A3DBox
|
||||
{
|
||||
private var §_-Ge§:Vector.<Number>;
|
||||
|
||||
private var §_-3I§:Id;
|
||||
|
||||
public function A3DBox(box:Vector.<Number>, id:Id)
|
||||
{
|
||||
super();
|
||||
this.§_-Ge§ = box;
|
||||
this.§_-3I§ = id;
|
||||
}
|
||||
|
||||
public function get box() : Vector.<Number>
|
||||
{
|
||||
return this.§_-Ge§;
|
||||
}
|
||||
|
||||
public function set box(value:Vector.<Number>) : void
|
||||
{
|
||||
this.§_-Ge§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Id
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Id) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DBox [";
|
||||
result += "box = " + this.box + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
132
src/versions/version1/a3d/objects/A3DObject.as
Normal file
132
src/versions/version1/a3d/objects/A3DObject.as
Normal file
@@ -0,0 +1,132 @@
|
||||
package versions.version1.a3d.objects
|
||||
{
|
||||
import commons.Id;
|
||||
import versions.version1.a3d.id.ParentId;
|
||||
|
||||
public class A3DObject
|
||||
{
|
||||
private var §_-jD§:Id;
|
||||
|
||||
private var §_-16§:Id;
|
||||
|
||||
private var §_-3I§:Id;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:ParentId;
|
||||
|
||||
private var §_-eW§:Vector.<A3DSurface>;
|
||||
|
||||
private var §_-UJ§:A3DTransformation;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3DObject(boundBoxId:Id, geometryId:Id, id:Id, name:String, parentId:ParentId, surfaces:Vector.<A3DSurface>, transformation:A3DTransformation, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-16§ = geometryId;
|
||||
this.§_-3I§ = id;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-eW§ = surfaces;
|
||||
this.§_-UJ§ = transformation;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : Id
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:Id) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get geometryId() : Id
|
||||
{
|
||||
return this.§_-16§;
|
||||
}
|
||||
|
||||
public function set geometryId(value:Id) : void
|
||||
{
|
||||
this.§_-16§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Id
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Id) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get parentId() : ParentId
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:ParentId) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get surfaces() : Vector.<A3DSurface>
|
||||
{
|
||||
return this.§_-eW§;
|
||||
}
|
||||
|
||||
public function set surfaces(value:Vector.<A3DSurface>) : void
|
||||
{
|
||||
this.§_-eW§ = value;
|
||||
}
|
||||
|
||||
public function get transformation() : A3DTransformation
|
||||
{
|
||||
return this.§_-UJ§;
|
||||
}
|
||||
|
||||
public function set transformation(value:A3DTransformation) : void
|
||||
{
|
||||
this.§_-UJ§ = value;
|
||||
}
|
||||
|
||||
public function get visible() : Boolean
|
||||
{
|
||||
return this.§_-1u§;
|
||||
}
|
||||
|
||||
public function set visible(value:Boolean) : void
|
||||
{
|
||||
this.§_-1u§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DObject [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "geometryId = " + this.geometryId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "surfaces = " + this.surfaces + " ";
|
||||
result += "transformation = " + this.transformation + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
61
src/versions/version1/a3d/objects/A3DSurface.as
Normal file
61
src/versions/version1/a3d/objects/A3DSurface.as
Normal file
@@ -0,0 +1,61 @@
|
||||
package versions.version1.a3d.objects
|
||||
{
|
||||
import commons.Id;
|
||||
|
||||
public class A3DSurface
|
||||
{
|
||||
private var §_-50§:int;
|
||||
|
||||
private var §_-pS§:Id;
|
||||
|
||||
private var §_-4C§:int;
|
||||
|
||||
public function A3DSurface(indexBegin:int, materialId:Id, numTriangles:int)
|
||||
{
|
||||
super();
|
||||
this.§_-50§ = indexBegin;
|
||||
this.§_-pS§ = materialId;
|
||||
this.§_-4C§ = numTriangles;
|
||||
}
|
||||
|
||||
public function get indexBegin() : int
|
||||
{
|
||||
return this.§_-50§;
|
||||
}
|
||||
|
||||
public function set indexBegin(value:int) : void
|
||||
{
|
||||
this.§_-50§ = value;
|
||||
}
|
||||
|
||||
public function get materialId() : Id
|
||||
{
|
||||
return this.§_-pS§;
|
||||
}
|
||||
|
||||
public function set materialId(value:Id) : void
|
||||
{
|
||||
this.§_-pS§ = value;
|
||||
}
|
||||
|
||||
public function get numTriangles() : int
|
||||
{
|
||||
return this.§_-4C§;
|
||||
}
|
||||
|
||||
public function set numTriangles(value:int) : void
|
||||
{
|
||||
this.§_-4C§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DSurface [";
|
||||
result += "indexBegin = " + this.indexBegin + " ";
|
||||
result += "materialId = " + this.materialId + " ";
|
||||
result += "numTriangles = " + this.numTriangles + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
33
src/versions/version1/a3d/objects/A3DTransformation.as
Normal file
33
src/versions/version1/a3d/objects/A3DTransformation.as
Normal file
@@ -0,0 +1,33 @@
|
||||
package versions.version1.a3d.objects
|
||||
{
|
||||
import commons.A3DMatrix;
|
||||
|
||||
public class A3DTransformation
|
||||
{
|
||||
private var §_-6p§:A3DMatrix;
|
||||
|
||||
public function A3DTransformation(matrix:A3DMatrix)
|
||||
{
|
||||
super();
|
||||
this.§_-6p§ = matrix;
|
||||
}
|
||||
|
||||
public function get matrix() : A3DMatrix
|
||||
{
|
||||
return this.§_-6p§;
|
||||
}
|
||||
|
||||
public function set matrix(value:A3DMatrix) : void
|
||||
{
|
||||
this.§_-6p§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3DTransformation [";
|
||||
result += "matrix = " + this.matrix + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user