mirror of
https://github.com/MapMakersAndProgrammers/TankiOnline2.0DemoClient.git
synced 2025-10-26 09:59:07 -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 + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
303
src/versions/version2/a3d/A3D2.as
Normal file
303
src/versions/version2/a3d/A3D2.as
Normal file
@@ -0,0 +1,303 @@
|
||||
package versions.version2.a3d
|
||||
{
|
||||
import versions.version2.a3d.animation.A3D2AnimationClip;
|
||||
import versions.version2.a3d.animation.A3D2Track;
|
||||
import versions.version2.a3d.geometry.A3D2IndexBuffer;
|
||||
import versions.version2.a3d.geometry.A3D2VertexBuffer;
|
||||
import versions.version2.a3d.materials.A3D2CubeMap;
|
||||
import versions.version2.a3d.materials.A3D2Image;
|
||||
import versions.version2.a3d.materials.A3D2Map;
|
||||
import versions.version2.a3d.materials.A3D2Material;
|
||||
import versions.version2.a3d.objects.A3D2AmbientLight;
|
||||
import versions.version2.a3d.objects.A3D2Box;
|
||||
import versions.version2.a3d.objects.A3D2Decal;
|
||||
import versions.version2.a3d.objects.A3D2DirectionalLight;
|
||||
import versions.version2.a3d.objects.A3D2Joint;
|
||||
import versions.version2.a3d.objects.A3D2Mesh;
|
||||
import versions.version2.a3d.objects.A3D2Object;
|
||||
import versions.version2.a3d.objects.A3D2OmniLight;
|
||||
import versions.version2.a3d.objects.A3D2Skin;
|
||||
import versions.version2.a3d.objects.A3D2SpotLight;
|
||||
import versions.version2.a3d.objects.A3D2Sprite;
|
||||
|
||||
public class A3D2
|
||||
{
|
||||
private var §_-VP§:Vector.<A3D2AmbientLight>;
|
||||
|
||||
private var §_-qp§:Vector.<A3D2AnimationClip>;
|
||||
|
||||
private var §_-Ib§:Vector.<A3D2Track>;
|
||||
|
||||
private var §_-0§:Vector.<A3D2Box>;
|
||||
|
||||
private var §_-fK§:Vector.<A3D2CubeMap>;
|
||||
|
||||
private var §_-Gv§:Vector.<A3D2Decal>;
|
||||
|
||||
private var §_-93§:Vector.<A3D2DirectionalLight>;
|
||||
|
||||
private var §_-ce§:Vector.<A3D2Image>;
|
||||
|
||||
private var §_-jm§:Vector.<A3D2IndexBuffer>;
|
||||
|
||||
private var §_-26§:Vector.<A3D2Joint>;
|
||||
|
||||
private var §_-XJ§:Vector.<A3D2Map>;
|
||||
|
||||
private var §_-22§:Vector.<A3D2Material>;
|
||||
|
||||
private var §_-jz§:Vector.<A3D2Mesh>;
|
||||
|
||||
private var §_-Kq§:Vector.<A3D2Object>;
|
||||
|
||||
private var §_-fM§:Vector.<A3D2OmniLight>;
|
||||
|
||||
private var §_-G0§:Vector.<A3D2Skin>;
|
||||
|
||||
private var §_-pd§:Vector.<A3D2SpotLight>;
|
||||
|
||||
private var §_-Ke§:Vector.<A3D2Sprite>;
|
||||
|
||||
private var §_-0B§:Vector.<A3D2VertexBuffer>;
|
||||
|
||||
public function A3D2(ambientLights:Vector.<A3D2AmbientLight>, animationClips:Vector.<A3D2AnimationClip>, animationTracks:Vector.<A3D2Track>, boxes:Vector.<A3D2Box>, cubeMaps:Vector.<A3D2CubeMap>, decals:Vector.<A3D2Decal>, directionalLights:Vector.<A3D2DirectionalLight>, images:Vector.<A3D2Image>, indexBuffers:Vector.<A3D2IndexBuffer>, joints:Vector.<A3D2Joint>, maps:Vector.<A3D2Map>, materials:Vector.<A3D2Material>, meshes:Vector.<A3D2Mesh>, objects:Vector.<A3D2Object>, omniLights:Vector.<A3D2OmniLight>, skins:Vector.<A3D2Skin>, spotLights:Vector.<A3D2SpotLight>, sprites:Vector.<A3D2Sprite>, vertexBuffers:Vector.<A3D2VertexBuffer>)
|
||||
{
|
||||
super();
|
||||
this.§_-VP§ = ambientLights;
|
||||
this.§_-qp§ = animationClips;
|
||||
this.§_-Ib§ = animationTracks;
|
||||
this.§_-0§ = boxes;
|
||||
this.§_-fK§ = cubeMaps;
|
||||
this.§_-Gv§ = decals;
|
||||
this.§_-93§ = directionalLights;
|
||||
this.§_-ce§ = images;
|
||||
this.§_-jm§ = indexBuffers;
|
||||
this.§_-26§ = joints;
|
||||
this.§_-XJ§ = maps;
|
||||
this.§_-22§ = materials;
|
||||
this.§_-jz§ = meshes;
|
||||
this.§_-Kq§ = objects;
|
||||
this.§_-fM§ = omniLights;
|
||||
this.§_-G0§ = skins;
|
||||
this.§_-pd§ = spotLights;
|
||||
this.§_-Ke§ = sprites;
|
||||
this.§_-0B§ = vertexBuffers;
|
||||
}
|
||||
|
||||
public function get ambientLights() : Vector.<A3D2AmbientLight>
|
||||
{
|
||||
return this.§_-VP§;
|
||||
}
|
||||
|
||||
public function set ambientLights(value:Vector.<A3D2AmbientLight>) : void
|
||||
{
|
||||
this.§_-VP§ = value;
|
||||
}
|
||||
|
||||
public function get animationClips() : Vector.<A3D2AnimationClip>
|
||||
{
|
||||
return this.§_-qp§;
|
||||
}
|
||||
|
||||
public function set animationClips(value:Vector.<A3D2AnimationClip>) : void
|
||||
{
|
||||
this.§_-qp§ = value;
|
||||
}
|
||||
|
||||
public function get animationTracks() : Vector.<A3D2Track>
|
||||
{
|
||||
return this.§_-Ib§;
|
||||
}
|
||||
|
||||
public function set animationTracks(value:Vector.<A3D2Track>) : void
|
||||
{
|
||||
this.§_-Ib§ = value;
|
||||
}
|
||||
|
||||
public function get boxes() : Vector.<A3D2Box>
|
||||
{
|
||||
return this.§_-0§;
|
||||
}
|
||||
|
||||
public function set boxes(value:Vector.<A3D2Box>) : void
|
||||
{
|
||||
this.§_-0§ = value;
|
||||
}
|
||||
|
||||
public function get cubeMaps() : Vector.<A3D2CubeMap>
|
||||
{
|
||||
return this.§_-fK§;
|
||||
}
|
||||
|
||||
public function set cubeMaps(value:Vector.<A3D2CubeMap>) : void
|
||||
{
|
||||
this.§_-fK§ = value;
|
||||
}
|
||||
|
||||
public function get decals() : Vector.<A3D2Decal>
|
||||
{
|
||||
return this.§_-Gv§;
|
||||
}
|
||||
|
||||
public function set decals(value:Vector.<A3D2Decal>) : void
|
||||
{
|
||||
this.§_-Gv§ = value;
|
||||
}
|
||||
|
||||
public function get directionalLights() : Vector.<A3D2DirectionalLight>
|
||||
{
|
||||
return this.§_-93§;
|
||||
}
|
||||
|
||||
public function set directionalLights(value:Vector.<A3D2DirectionalLight>) : void
|
||||
{
|
||||
this.§_-93§ = value;
|
||||
}
|
||||
|
||||
public function get images() : Vector.<A3D2Image>
|
||||
{
|
||||
return this.§_-ce§;
|
||||
}
|
||||
|
||||
public function set images(value:Vector.<A3D2Image>) : void
|
||||
{
|
||||
this.§_-ce§ = value;
|
||||
}
|
||||
|
||||
public function get indexBuffers() : Vector.<A3D2IndexBuffer>
|
||||
{
|
||||
return this.§_-jm§;
|
||||
}
|
||||
|
||||
public function set indexBuffers(value:Vector.<A3D2IndexBuffer>) : void
|
||||
{
|
||||
this.§_-jm§ = value;
|
||||
}
|
||||
|
||||
public function get joints() : Vector.<A3D2Joint>
|
||||
{
|
||||
return this.§_-26§;
|
||||
}
|
||||
|
||||
public function set joints(value:Vector.<A3D2Joint>) : void
|
||||
{
|
||||
this.§_-26§ = value;
|
||||
}
|
||||
|
||||
public function get maps() : Vector.<A3D2Map>
|
||||
{
|
||||
return this.§_-XJ§;
|
||||
}
|
||||
|
||||
public function set maps(value:Vector.<A3D2Map>) : void
|
||||
{
|
||||
this.§_-XJ§ = value;
|
||||
}
|
||||
|
||||
public function get materials() : Vector.<A3D2Material>
|
||||
{
|
||||
return this.§_-22§;
|
||||
}
|
||||
|
||||
public function set materials(value:Vector.<A3D2Material>) : void
|
||||
{
|
||||
this.§_-22§ = value;
|
||||
}
|
||||
|
||||
public function get meshes() : Vector.<A3D2Mesh>
|
||||
{
|
||||
return this.§_-jz§;
|
||||
}
|
||||
|
||||
public function set meshes(value:Vector.<A3D2Mesh>) : void
|
||||
{
|
||||
this.§_-jz§ = value;
|
||||
}
|
||||
|
||||
public function get objects() : Vector.<A3D2Object>
|
||||
{
|
||||
return this.§_-Kq§;
|
||||
}
|
||||
|
||||
public function set objects(value:Vector.<A3D2Object>) : void
|
||||
{
|
||||
this.§_-Kq§ = value;
|
||||
}
|
||||
|
||||
public function get omniLights() : Vector.<A3D2OmniLight>
|
||||
{
|
||||
return this.§_-fM§;
|
||||
}
|
||||
|
||||
public function set omniLights(value:Vector.<A3D2OmniLight>) : void
|
||||
{
|
||||
this.§_-fM§ = value;
|
||||
}
|
||||
|
||||
public function get skins() : Vector.<A3D2Skin>
|
||||
{
|
||||
return this.§_-G0§;
|
||||
}
|
||||
|
||||
public function set skins(value:Vector.<A3D2Skin>) : void
|
||||
{
|
||||
this.§_-G0§ = value;
|
||||
}
|
||||
|
||||
public function get spotLights() : Vector.<A3D2SpotLight>
|
||||
{
|
||||
return this.§_-pd§;
|
||||
}
|
||||
|
||||
public function set spotLights(value:Vector.<A3D2SpotLight>) : void
|
||||
{
|
||||
this.§_-pd§ = value;
|
||||
}
|
||||
|
||||
public function get sprites() : Vector.<A3D2Sprite>
|
||||
{
|
||||
return this.§_-Ke§;
|
||||
}
|
||||
|
||||
public function set sprites(value:Vector.<A3D2Sprite>) : void
|
||||
{
|
||||
this.§_-Ke§ = value;
|
||||
}
|
||||
|
||||
public function get vertexBuffers() : Vector.<A3D2VertexBuffer>
|
||||
{
|
||||
return this.§_-0B§;
|
||||
}
|
||||
|
||||
public function set vertexBuffers(value:Vector.<A3D2VertexBuffer>) : void
|
||||
{
|
||||
this.§_-0B§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2 [";
|
||||
result += "ambientLights = " + this.ambientLights + " ";
|
||||
result += "animationClips = " + this.animationClips + " ";
|
||||
result += "animationTracks = " + this.animationTracks + " ";
|
||||
result += "boxes = " + this.boxes + " ";
|
||||
result += "cubeMaps = " + this.cubeMaps + " ";
|
||||
result += "decals = " + this.decals + " ";
|
||||
result += "directionalLights = " + this.directionalLights + " ";
|
||||
result += "images = " + this.images + " ";
|
||||
result += "indexBuffers = " + this.indexBuffers + " ";
|
||||
result += "joints = " + this.joints + " ";
|
||||
result += "maps = " + this.maps + " ";
|
||||
result += "materials = " + this.materials + " ";
|
||||
result += "meshes = " + this.meshes + " ";
|
||||
result += "objects = " + this.objects + " ";
|
||||
result += "omniLights = " + this.omniLights + " ";
|
||||
result += "skins = " + this.skins + " ";
|
||||
result += "spotLights = " + this.spotLights + " ";
|
||||
result += "sprites = " + this.sprites + " ";
|
||||
result += "vertexBuffers = " + this.vertexBuffers + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
89
src/versions/version2/a3d/animation/A3D2AnimationClip.as
Normal file
89
src/versions/version2/a3d/animation/A3D2AnimationClip.as
Normal file
@@ -0,0 +1,89 @@
|
||||
package versions.version2.a3d.animation
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2AnimationClip
|
||||
{
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-OV§:Boolean;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-Cp§:Vector.<Long>;
|
||||
|
||||
private var §_-cT§:Vector.<int>;
|
||||
|
||||
public function A3D2AnimationClip(id:int, loop:Boolean, name:String, objectIDs:Vector.<Long>, tracks:Vector.<int>)
|
||||
{
|
||||
super();
|
||||
this.§_-3I§ = id;
|
||||
this.§_-OV§ = loop;
|
||||
this._name = name;
|
||||
this.§_-Cp§ = objectIDs;
|
||||
this.§_-cT§ = tracks;
|
||||
}
|
||||
|
||||
public function get id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get loop() : Boolean
|
||||
{
|
||||
return this.§_-OV§;
|
||||
}
|
||||
|
||||
public function set loop(value:Boolean) : void
|
||||
{
|
||||
this.§_-OV§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get objectIDs() : Vector.<Long>
|
||||
{
|
||||
return this.§_-Cp§;
|
||||
}
|
||||
|
||||
public function set objectIDs(value:Vector.<Long>) : void
|
||||
{
|
||||
this.§_-Cp§ = value;
|
||||
}
|
||||
|
||||
public function get tracks() : Vector.<int>
|
||||
{
|
||||
return this.§_-cT§;
|
||||
}
|
||||
|
||||
public function set tracks(value:Vector.<int>) : void
|
||||
{
|
||||
this.§_-cT§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2AnimationClip [";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "loop = " + this.loop + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "objectIDs = " + this.objectIDs + " ";
|
||||
result += "tracks = " + this.tracks + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
47
src/versions/version2/a3d/animation/A3D2Keyframe.as
Normal file
47
src/versions/version2/a3d/animation/A3D2Keyframe.as
Normal file
@@ -0,0 +1,47 @@
|
||||
package versions.version2.a3d.animation
|
||||
{
|
||||
import versions.version2.a3d.objects.A3D2Transform;
|
||||
|
||||
public class A3D2Keyframe
|
||||
{
|
||||
private var §_-qC§:Number;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
public function A3D2Keyframe(time:Number, transform:A3D2Transform)
|
||||
{
|
||||
super();
|
||||
this.§_-qC§ = time;
|
||||
this.§_-bP§ = transform;
|
||||
}
|
||||
|
||||
public function get time() : Number
|
||||
{
|
||||
return this.§_-qC§;
|
||||
}
|
||||
|
||||
public function set time(value:Number) : void
|
||||
{
|
||||
this.§_-qC§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2Keyframe [";
|
||||
result += "time = " + this.time + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
src/versions/version2/a3d/animation/A3D2Track.as
Normal file
59
src/versions/version2/a3d/animation/A3D2Track.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package versions.version2.a3d.animation
|
||||
{
|
||||
public class A3D2Track
|
||||
{
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-1§:Vector.<A3D2Keyframe>;
|
||||
|
||||
private var §_-pa§:String;
|
||||
|
||||
public function A3D2Track(id:int, keyframes:Vector.<A3D2Keyframe>, objectName:String)
|
||||
{
|
||||
super();
|
||||
this.§_-3I§ = id;
|
||||
this.§_-1§ = keyframes;
|
||||
this.§_-pa§ = objectName;
|
||||
}
|
||||
|
||||
public function get id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get keyframes() : Vector.<A3D2Keyframe>
|
||||
{
|
||||
return this.§_-1§;
|
||||
}
|
||||
|
||||
public function set keyframes(value:Vector.<A3D2Keyframe>) : void
|
||||
{
|
||||
this.§_-1§ = value;
|
||||
}
|
||||
|
||||
public function get objectName() : String
|
||||
{
|
||||
return this.§_-pa§;
|
||||
}
|
||||
|
||||
public function set objectName(value:String) : void
|
||||
{
|
||||
this.§_-pa§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2Track [";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "keyframes = " + this.keyframes + " ";
|
||||
result += "objectName = " + this.objectName + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
61
src/versions/version2/a3d/geometry/A3D2IndexBuffer.as
Normal file
61
src/versions/version2/a3d/geometry/A3D2IndexBuffer.as
Normal file
@@ -0,0 +1,61 @@
|
||||
package versions.version2.a3d.geometry
|
||||
{
|
||||
import flash.utils.ByteArray;
|
||||
|
||||
public class A3D2IndexBuffer
|
||||
{
|
||||
private var §_-79§:ByteArray;
|
||||
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-m0§:int;
|
||||
|
||||
public function A3D2IndexBuffer(byteBuffer:ByteArray, id:int, indexCount:int)
|
||||
{
|
||||
super();
|
||||
this.§_-79§ = byteBuffer;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-m0§ = indexCount;
|
||||
}
|
||||
|
||||
public function get byteBuffer() : ByteArray
|
||||
{
|
||||
return this.§_-79§;
|
||||
}
|
||||
|
||||
public function set byteBuffer(value:ByteArray) : void
|
||||
{
|
||||
this.§_-79§ = value;
|
||||
}
|
||||
|
||||
public function get id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = 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 = "A3D2IndexBuffer [";
|
||||
result += "byteBuffer = " + this.byteBuffer + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "indexCount = " + this.indexCount + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
50
src/versions/version2/a3d/geometry/A3D2VertexAttributes.as
Normal file
50
src/versions/version2/a3d/geometry/A3D2VertexAttributes.as
Normal file
@@ -0,0 +1,50 @@
|
||||
package versions.version2.a3d.geometry
|
||||
{
|
||||
public class A3D2VertexAttributes
|
||||
{
|
||||
public static const POSITION:A3D2VertexAttributes = new A3D2VertexAttributes(0);
|
||||
|
||||
public static const NORMAL:A3D2VertexAttributes = new A3D2VertexAttributes(1);
|
||||
|
||||
public static const TANGENT4:A3D2VertexAttributes = new A3D2VertexAttributes(2);
|
||||
|
||||
public static const JOINT:A3D2VertexAttributes = new A3D2VertexAttributes(3);
|
||||
|
||||
public static const TEXCOORD:A3D2VertexAttributes = new A3D2VertexAttributes(4);
|
||||
|
||||
public var value:int;
|
||||
|
||||
public function A3D2VertexAttributes(value:int)
|
||||
{
|
||||
super();
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2VertexAttributes [";
|
||||
if(this.value == 0)
|
||||
{
|
||||
result += "POSITION";
|
||||
}
|
||||
if(this.value == 1)
|
||||
{
|
||||
result += "NORMAL";
|
||||
}
|
||||
if(this.value == 2)
|
||||
{
|
||||
result += "TANGENT4";
|
||||
}
|
||||
if(this.value == 3)
|
||||
{
|
||||
result += "JOINT";
|
||||
}
|
||||
if(this.value == 4)
|
||||
{
|
||||
result += "TEXCOORD";
|
||||
}
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
75
src/versions/version2/a3d/geometry/A3D2VertexBuffer.as
Normal file
75
src/versions/version2/a3d/geometry/A3D2VertexBuffer.as
Normal file
@@ -0,0 +1,75 @@
|
||||
package versions.version2.a3d.geometry
|
||||
{
|
||||
import flash.utils.ByteArray;
|
||||
|
||||
public class A3D2VertexBuffer
|
||||
{
|
||||
private var §_-96§:Vector.<A3D2VertexAttributes>;
|
||||
|
||||
private var §_-79§:ByteArray;
|
||||
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-g1§:uint;
|
||||
|
||||
public function A3D2VertexBuffer(attributes:Vector.<A3D2VertexAttributes>, byteBuffer:ByteArray, id:int, vertexCount:uint)
|
||||
{
|
||||
super();
|
||||
this.§_-96§ = attributes;
|
||||
this.§_-79§ = byteBuffer;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-g1§ = vertexCount;
|
||||
}
|
||||
|
||||
public function get attributes() : Vector.<A3D2VertexAttributes>
|
||||
{
|
||||
return this.§_-96§;
|
||||
}
|
||||
|
||||
public function set attributes(value:Vector.<A3D2VertexAttributes>) : 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 id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = 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 = "A3D2VertexBuffer [";
|
||||
result += "attributes = " + this.attributes + " ";
|
||||
result += "byteBuffer = " + this.byteBuffer + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "vertexCount = " + this.vertexCount + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
115
src/versions/version2/a3d/materials/A3D2CubeMap.as
Normal file
115
src/versions/version2/a3d/materials/A3D2CubeMap.as
Normal file
@@ -0,0 +1,115 @@
|
||||
package versions.version2.a3d.materials
|
||||
{
|
||||
public class A3D2CubeMap
|
||||
{
|
||||
private var §_-0x§:int;
|
||||
|
||||
private var §_-el§:int;
|
||||
|
||||
private var §_-5I§:int;
|
||||
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-ML§:int;
|
||||
|
||||
private var §_-K§:int;
|
||||
|
||||
private var §_-pW§:int;
|
||||
|
||||
public function A3D2CubeMap(backId:int, bottomId:int, frontId:int, id:int, leftId:int, rightId:int, topId:int)
|
||||
{
|
||||
super();
|
||||
this.§_-0x§ = backId;
|
||||
this.§_-el§ = bottomId;
|
||||
this.§_-5I§ = frontId;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-ML§ = leftId;
|
||||
this.§_-K§ = rightId;
|
||||
this.§_-pW§ = topId;
|
||||
}
|
||||
|
||||
public function get backId() : int
|
||||
{
|
||||
return this.§_-0x§;
|
||||
}
|
||||
|
||||
public function set backId(value:int) : void
|
||||
{
|
||||
this.§_-0x§ = value;
|
||||
}
|
||||
|
||||
public function get bottomId() : int
|
||||
{
|
||||
return this.§_-el§;
|
||||
}
|
||||
|
||||
public function set bottomId(value:int) : void
|
||||
{
|
||||
this.§_-el§ = value;
|
||||
}
|
||||
|
||||
public function get frontId() : int
|
||||
{
|
||||
return this.§_-5I§;
|
||||
}
|
||||
|
||||
public function set frontId(value:int) : void
|
||||
{
|
||||
this.§_-5I§ = value;
|
||||
}
|
||||
|
||||
public function get id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get leftId() : int
|
||||
{
|
||||
return this.§_-ML§;
|
||||
}
|
||||
|
||||
public function set leftId(value:int) : void
|
||||
{
|
||||
this.§_-ML§ = value;
|
||||
}
|
||||
|
||||
public function get rightId() : int
|
||||
{
|
||||
return this.§_-K§;
|
||||
}
|
||||
|
||||
public function set rightId(value:int) : void
|
||||
{
|
||||
this.§_-K§ = value;
|
||||
}
|
||||
|
||||
public function get topId() : int
|
||||
{
|
||||
return this.§_-pW§;
|
||||
}
|
||||
|
||||
public function set topId(value:int) : void
|
||||
{
|
||||
this.§_-pW§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2CubeMap [";
|
||||
result += "backId = " + this.backId + " ";
|
||||
result += "bottomId = " + this.bottomId + " ";
|
||||
result += "frontId = " + this.frontId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "leftId = " + this.leftId + " ";
|
||||
result += "rightId = " + this.rightId + " ";
|
||||
result += "topId = " + this.topId + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
45
src/versions/version2/a3d/materials/A3D2Image.as
Normal file
45
src/versions/version2/a3d/materials/A3D2Image.as
Normal file
@@ -0,0 +1,45 @@
|
||||
package versions.version2.a3d.materials
|
||||
{
|
||||
public class A3D2Image
|
||||
{
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-6D§:String;
|
||||
|
||||
public function A3D2Image(id:int, url:String)
|
||||
{
|
||||
super();
|
||||
this.§_-3I§ = id;
|
||||
this.§_-6D§ = url;
|
||||
}
|
||||
|
||||
public function get id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : 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 = "A3D2Image [";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "url = " + this.url + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
src/versions/version2/a3d/materials/A3D2Map.as
Normal file
59
src/versions/version2/a3d/materials/A3D2Map.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package versions.version2.a3d.materials
|
||||
{
|
||||
public class A3D2Map
|
||||
{
|
||||
private var §_-9y§:uint;
|
||||
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-JE§:int;
|
||||
|
||||
public function A3D2Map(channel:uint, id:int, imageId:int)
|
||||
{
|
||||
super();
|
||||
this.§_-9y§ = channel;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-JE§ = imageId;
|
||||
}
|
||||
|
||||
public function get channel() : uint
|
||||
{
|
||||
return this.§_-9y§;
|
||||
}
|
||||
|
||||
public function set channel(value:uint) : void
|
||||
{
|
||||
this.§_-9y§ = value;
|
||||
}
|
||||
|
||||
public function get id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get imageId() : int
|
||||
{
|
||||
return this.§_-JE§;
|
||||
}
|
||||
|
||||
public function set imageId(value:int) : void
|
||||
{
|
||||
this.§_-JE§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2Map [";
|
||||
result += "channel = " + this.channel + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "imageId = " + this.imageId + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
129
src/versions/version2/a3d/materials/A3D2Material.as
Normal file
129
src/versions/version2/a3d/materials/A3D2Material.as
Normal file
@@ -0,0 +1,129 @@
|
||||
package versions.version2.a3d.materials
|
||||
{
|
||||
public class A3D2Material
|
||||
{
|
||||
private var §_-9s§:int;
|
||||
|
||||
private var §_-bl§:int;
|
||||
|
||||
private var §_-3I§:int;
|
||||
|
||||
private var §_-qf§:int;
|
||||
|
||||
private var §_-QR§:int;
|
||||
|
||||
private var §_-Jn§:int;
|
||||
|
||||
private var §_-iG§:int;
|
||||
|
||||
private var §_-LA§:int;
|
||||
|
||||
public function A3D2Material(diffuseMapId:int, glossinessMapId:int, id:int, lightMapId:int, normalMapId:int, opacityMapId:int, reflectionCubeMapId:int, specularMapId:int)
|
||||
{
|
||||
super();
|
||||
this.§_-9s§ = diffuseMapId;
|
||||
this.§_-bl§ = glossinessMapId;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-qf§ = lightMapId;
|
||||
this.§_-QR§ = normalMapId;
|
||||
this.§_-Jn§ = opacityMapId;
|
||||
this.§_-iG§ = reflectionCubeMapId;
|
||||
this.§_-LA§ = specularMapId;
|
||||
}
|
||||
|
||||
public function get diffuseMapId() : int
|
||||
{
|
||||
return this.§_-9s§;
|
||||
}
|
||||
|
||||
public function set diffuseMapId(value:int) : void
|
||||
{
|
||||
this.§_-9s§ = value;
|
||||
}
|
||||
|
||||
public function get glossinessMapId() : int
|
||||
{
|
||||
return this.§_-bl§;
|
||||
}
|
||||
|
||||
public function set glossinessMapId(value:int) : void
|
||||
{
|
||||
this.§_-bl§ = value;
|
||||
}
|
||||
|
||||
public function get id() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get lightMapId() : int
|
||||
{
|
||||
return this.§_-qf§;
|
||||
}
|
||||
|
||||
public function set lightMapId(value:int) : void
|
||||
{
|
||||
this.§_-qf§ = value;
|
||||
}
|
||||
|
||||
public function get normalMapId() : int
|
||||
{
|
||||
return this.§_-QR§;
|
||||
}
|
||||
|
||||
public function set normalMapId(value:int) : void
|
||||
{
|
||||
this.§_-QR§ = value;
|
||||
}
|
||||
|
||||
public function get opacityMapId() : int
|
||||
{
|
||||
return this.§_-Jn§;
|
||||
}
|
||||
|
||||
public function set opacityMapId(value:int) : void
|
||||
{
|
||||
this.§_-Jn§ = value;
|
||||
}
|
||||
|
||||
public function get reflectionCubeMapId() : int
|
||||
{
|
||||
return this.§_-iG§;
|
||||
}
|
||||
|
||||
public function set reflectionCubeMapId(value:int) : void
|
||||
{
|
||||
this.§_-iG§ = value;
|
||||
}
|
||||
|
||||
public function get specularMapId() : int
|
||||
{
|
||||
return this.§_-LA§;
|
||||
}
|
||||
|
||||
public function set specularMapId(value:int) : void
|
||||
{
|
||||
this.§_-LA§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2Material [";
|
||||
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 += "reflectionCubeMapId = " + this.reflectionCubeMapId + " ";
|
||||
result += "specularMapId = " + this.specularMapId + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
131
src/versions/version2/a3d/objects/A3D2AmbientLight.as
Normal file
131
src/versions/version2/a3d/objects/A3D2AmbientLight.as
Normal file
@@ -0,0 +1,131 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2AmbientLight
|
||||
{
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-Tn§:uint;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-74§:Number;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2AmbientLight(boundBoxId:int, color:uint, id:Long, intensity:Number, name:String, parentId:Long, transform:A3D2Transform, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-Tn§ = color;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-74§ = intensity;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get color() : uint
|
||||
{
|
||||
return this.§_-Tn§;
|
||||
}
|
||||
|
||||
public function set color(value:uint) : void
|
||||
{
|
||||
this.§_-Tn§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get intensity() : Number
|
||||
{
|
||||
return this.§_-74§;
|
||||
}
|
||||
|
||||
public function set intensity(value:Number) : void
|
||||
{
|
||||
this.§_-74§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = 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 = "A3D2AmbientLight [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "color = " + this.color + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "intensity = " + this.intensity + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
45
src/versions/version2/a3d/objects/A3D2Box.as
Normal file
45
src/versions/version2/a3d/objects/A3D2Box.as
Normal file
@@ -0,0 +1,45 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
public class A3D2Box
|
||||
{
|
||||
private var §_-Ge§:Vector.<Number>;
|
||||
|
||||
private var §_-3I§:int;
|
||||
|
||||
public function A3D2Box(box:Vector.<Number>, id:int)
|
||||
{
|
||||
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() : int
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:int) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2Box [";
|
||||
result += "box = " + this.box + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
159
src/versions/version2/a3d/objects/A3D2Decal.as
Normal file
159
src/versions/version2/a3d/objects/A3D2Decal.as
Normal file
@@ -0,0 +1,159 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2Decal
|
||||
{
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-Hc§:int;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-3D§:Number;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-eW§:Vector.<A3D2Surface>;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-0B§:Vector.<int>;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2Decal(boundBoxId:int, id:Long, indexBufferId:int, name:String, offset:Number, parentId:Long, surfaces:Vector.<A3D2Surface>, transform:A3D2Transform, vertexBuffers:Vector.<int>, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-Hc§ = indexBufferId;
|
||||
this._name = name;
|
||||
this.§_-3D§ = offset;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-eW§ = surfaces;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-0B§ = vertexBuffers;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get indexBufferId() : int
|
||||
{
|
||||
return this.§_-Hc§;
|
||||
}
|
||||
|
||||
public function set indexBufferId(value:int) : void
|
||||
{
|
||||
this.§_-Hc§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get offset() : Number
|
||||
{
|
||||
return this.§_-3D§;
|
||||
}
|
||||
|
||||
public function set offset(value:Number) : void
|
||||
{
|
||||
this.§_-3D§ = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get surfaces() : Vector.<A3D2Surface>
|
||||
{
|
||||
return this.§_-eW§;
|
||||
}
|
||||
|
||||
public function set surfaces(value:Vector.<A3D2Surface>) : void
|
||||
{
|
||||
this.§_-eW§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = value;
|
||||
}
|
||||
|
||||
public function get vertexBuffers() : Vector.<int>
|
||||
{
|
||||
return this.§_-0B§;
|
||||
}
|
||||
|
||||
public function set vertexBuffers(value:Vector.<int>) : void
|
||||
{
|
||||
this.§_-0B§ = 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 = "A3D2Decal [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "indexBufferId = " + this.indexBufferId + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "offset = " + this.offset + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "surfaces = " + this.surfaces + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "vertexBuffers = " + this.vertexBuffers + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
131
src/versions/version2/a3d/objects/A3D2DirectionalLight.as
Normal file
131
src/versions/version2/a3d/objects/A3D2DirectionalLight.as
Normal file
@@ -0,0 +1,131 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2DirectionalLight
|
||||
{
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-Tn§:uint;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-74§:Number;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2DirectionalLight(boundBoxId:int, color:uint, id:Long, intensity:Number, name:String, parentId:Long, transform:A3D2Transform, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-Tn§ = color;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-74§ = intensity;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get color() : uint
|
||||
{
|
||||
return this.§_-Tn§;
|
||||
}
|
||||
|
||||
public function set color(value:uint) : void
|
||||
{
|
||||
this.§_-Tn§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get intensity() : Number
|
||||
{
|
||||
return this.§_-74§;
|
||||
}
|
||||
|
||||
public function set intensity(value:Number) : void
|
||||
{
|
||||
this.§_-74§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = 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 = "A3D2DirectionalLight [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "color = " + this.color + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "intensity = " + this.intensity + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
103
src/versions/version2/a3d/objects/A3D2Joint.as
Normal file
103
src/versions/version2/a3d/objects/A3D2Joint.as
Normal file
@@ -0,0 +1,103 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2Joint
|
||||
{
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2Joint(boundBoxId:int, id:Long, name:String, parentId:Long, transform:A3D2Transform, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-3I§ = id;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : 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() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = 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 = "A3D2Joint [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
47
src/versions/version2/a3d/objects/A3D2JointBindTransform.as
Normal file
47
src/versions/version2/a3d/objects/A3D2JointBindTransform.as
Normal file
@@ -0,0 +1,47 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2JointBindTransform
|
||||
{
|
||||
private var §_-NL§:A3D2Transform;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
public function A3D2JointBindTransform(bindPoseTransform:A3D2Transform, id:Long)
|
||||
{
|
||||
super();
|
||||
this.§_-NL§ = bindPoseTransform;
|
||||
this.§_-3I§ = id;
|
||||
}
|
||||
|
||||
public function get bindPoseTransform() : A3D2Transform
|
||||
{
|
||||
return this.§_-NL§;
|
||||
}
|
||||
|
||||
public function set bindPoseTransform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-NL§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2JointBindTransform [";
|
||||
result += "bindPoseTransform = " + this.bindPoseTransform + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
145
src/versions/version2/a3d/objects/A3D2Mesh.as
Normal file
145
src/versions/version2/a3d/objects/A3D2Mesh.as
Normal file
@@ -0,0 +1,145 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2Mesh
|
||||
{
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-Hc§:int;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-eW§:Vector.<A3D2Surface>;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-0B§:Vector.<int>;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2Mesh(boundBoxId:int, id:Long, indexBufferId:int, name:String, parentId:Long, surfaces:Vector.<A3D2Surface>, transform:A3D2Transform, vertexBuffers:Vector.<int>, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-Hc§ = indexBufferId;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-eW§ = surfaces;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-0B§ = vertexBuffers;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get indexBufferId() : int
|
||||
{
|
||||
return this.§_-Hc§;
|
||||
}
|
||||
|
||||
public function set indexBufferId(value:int) : void
|
||||
{
|
||||
this.§_-Hc§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get surfaces() : Vector.<A3D2Surface>
|
||||
{
|
||||
return this.§_-eW§;
|
||||
}
|
||||
|
||||
public function set surfaces(value:Vector.<A3D2Surface>) : void
|
||||
{
|
||||
this.§_-eW§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = value;
|
||||
}
|
||||
|
||||
public function get vertexBuffers() : Vector.<int>
|
||||
{
|
||||
return this.§_-0B§;
|
||||
}
|
||||
|
||||
public function set vertexBuffers(value:Vector.<int>) : void
|
||||
{
|
||||
this.§_-0B§ = 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 = "A3D2Mesh [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "indexBufferId = " + this.indexBufferId + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "surfaces = " + this.surfaces + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "vertexBuffers = " + this.vertexBuffers + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
103
src/versions/version2/a3d/objects/A3D2Object.as
Normal file
103
src/versions/version2/a3d/objects/A3D2Object.as
Normal file
@@ -0,0 +1,103 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2Object
|
||||
{
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2Object(boundBoxId:int, id:Long, name:String, parentId:Long, transform:A3D2Transform, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-3I§ = id;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : 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() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = 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 = "A3D2Object [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
159
src/versions/version2/a3d/objects/A3D2OmniLight.as
Normal file
159
src/versions/version2/a3d/objects/A3D2OmniLight.as
Normal file
@@ -0,0 +1,159 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2OmniLight
|
||||
{
|
||||
private var §_-Hw§:Number;
|
||||
|
||||
private var §_-AS§:Number;
|
||||
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-Tn§:uint;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-74§:Number;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2OmniLight(attenuationBegin:Number, attenuationEnd:Number, boundBoxId:int, color:uint, id:Long, intensity:Number, name:String, parentId:Long, transform:A3D2Transform, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-Hw§ = attenuationBegin;
|
||||
this.§_-AS§ = attenuationEnd;
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-Tn§ = color;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-74§ = intensity;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get attenuationBegin() : Number
|
||||
{
|
||||
return this.§_-Hw§;
|
||||
}
|
||||
|
||||
public function set attenuationBegin(value:Number) : void
|
||||
{
|
||||
this.§_-Hw§ = value;
|
||||
}
|
||||
|
||||
public function get attenuationEnd() : Number
|
||||
{
|
||||
return this.§_-AS§;
|
||||
}
|
||||
|
||||
public function set attenuationEnd(value:Number) : void
|
||||
{
|
||||
this.§_-AS§ = value;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get color() : uint
|
||||
{
|
||||
return this.§_-Tn§;
|
||||
}
|
||||
|
||||
public function set color(value:uint) : void
|
||||
{
|
||||
this.§_-Tn§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get intensity() : Number
|
||||
{
|
||||
return this.§_-74§;
|
||||
}
|
||||
|
||||
public function set intensity(value:Number) : void
|
||||
{
|
||||
this.§_-74§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = 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 = "A3D2OmniLight [";
|
||||
result += "attenuationBegin = " + this.attenuationBegin + " ";
|
||||
result += "attenuationEnd = " + this.attenuationEnd + " ";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "color = " + this.color + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "intensity = " + this.intensity + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
187
src/versions/version2/a3d/objects/A3D2Skin.as
Normal file
187
src/versions/version2/a3d/objects/A3D2Skin.as
Normal file
@@ -0,0 +1,187 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2Skin
|
||||
{
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-Hc§:int;
|
||||
|
||||
private var §_-KB§:Vector.<A3D2JointBindTransform>;
|
||||
|
||||
private var §_-26§:Vector.<Long>;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-Dr§:Vector.<uint>;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-eW§:Vector.<A3D2Surface>;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-0B§:Vector.<int>;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2Skin(boundBoxId:int, id:Long, indexBufferId:int, jointBindTransforms:Vector.<A3D2JointBindTransform>, joints:Vector.<Long>, name:String, numJoints:Vector.<uint>, parentId:Long, surfaces:Vector.<A3D2Surface>, transform:A3D2Transform, vertexBuffers:Vector.<int>, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-Hc§ = indexBufferId;
|
||||
this.§_-KB§ = jointBindTransforms;
|
||||
this.§_-26§ = joints;
|
||||
this._name = name;
|
||||
this.§_-Dr§ = numJoints;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-eW§ = surfaces;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-0B§ = vertexBuffers;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get indexBufferId() : int
|
||||
{
|
||||
return this.§_-Hc§;
|
||||
}
|
||||
|
||||
public function set indexBufferId(value:int) : void
|
||||
{
|
||||
this.§_-Hc§ = value;
|
||||
}
|
||||
|
||||
public function get jointBindTransforms() : Vector.<A3D2JointBindTransform>
|
||||
{
|
||||
return this.§_-KB§;
|
||||
}
|
||||
|
||||
public function set jointBindTransforms(value:Vector.<A3D2JointBindTransform>) : void
|
||||
{
|
||||
this.§_-KB§ = value;
|
||||
}
|
||||
|
||||
public function get joints() : Vector.<Long>
|
||||
{
|
||||
return this.§_-26§;
|
||||
}
|
||||
|
||||
public function set joints(value:Vector.<Long>) : void
|
||||
{
|
||||
this.§_-26§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get numJoints() : Vector.<uint>
|
||||
{
|
||||
return this.§_-Dr§;
|
||||
}
|
||||
|
||||
public function set numJoints(value:Vector.<uint>) : void
|
||||
{
|
||||
this.§_-Dr§ = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get surfaces() : Vector.<A3D2Surface>
|
||||
{
|
||||
return this.§_-eW§;
|
||||
}
|
||||
|
||||
public function set surfaces(value:Vector.<A3D2Surface>) : void
|
||||
{
|
||||
this.§_-eW§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = value;
|
||||
}
|
||||
|
||||
public function get vertexBuffers() : Vector.<int>
|
||||
{
|
||||
return this.§_-0B§;
|
||||
}
|
||||
|
||||
public function set vertexBuffers(value:Vector.<int>) : void
|
||||
{
|
||||
this.§_-0B§ = 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 = "A3D2Skin [";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "indexBufferId = " + this.indexBufferId + " ";
|
||||
result += "jointBindTransforms = " + this.jointBindTransforms + " ";
|
||||
result += "joints = " + this.joints + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "numJoints = " + this.numJoints + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "surfaces = " + this.surfaces + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "vertexBuffers = " + this.vertexBuffers + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
187
src/versions/version2/a3d/objects/A3D2SpotLight.as
Normal file
187
src/versions/version2/a3d/objects/A3D2SpotLight.as
Normal file
@@ -0,0 +1,187 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
|
||||
public class A3D2SpotLight
|
||||
{
|
||||
private var §_-Hw§:Number;
|
||||
|
||||
private var §_-AS§:Number;
|
||||
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var §_-Tn§:uint;
|
||||
|
||||
private var §_-a0§:Number;
|
||||
|
||||
private var §_-GR§:Number;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-74§:Number;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
public function A3D2SpotLight(attenuationBegin:Number, attenuationEnd:Number, boundBoxId:int, color:uint, falloff:Number, hotspot:Number, id:Long, intensity:Number, name:String, parentId:Long, transform:A3D2Transform, visible:Boolean)
|
||||
{
|
||||
super();
|
||||
this.§_-Hw§ = attenuationBegin;
|
||||
this.§_-AS§ = attenuationEnd;
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this.§_-Tn§ = color;
|
||||
this.§_-a0§ = falloff;
|
||||
this.§_-GR§ = hotspot;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-74§ = intensity;
|
||||
this._name = name;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-1u§ = visible;
|
||||
}
|
||||
|
||||
public function get attenuationBegin() : Number
|
||||
{
|
||||
return this.§_-Hw§;
|
||||
}
|
||||
|
||||
public function set attenuationBegin(value:Number) : void
|
||||
{
|
||||
this.§_-Hw§ = value;
|
||||
}
|
||||
|
||||
public function get attenuationEnd() : Number
|
||||
{
|
||||
return this.§_-AS§;
|
||||
}
|
||||
|
||||
public function set attenuationEnd(value:Number) : void
|
||||
{
|
||||
this.§_-AS§ = value;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get color() : uint
|
||||
{
|
||||
return this.§_-Tn§;
|
||||
}
|
||||
|
||||
public function set color(value:uint) : void
|
||||
{
|
||||
this.§_-Tn§ = value;
|
||||
}
|
||||
|
||||
public function get falloff() : Number
|
||||
{
|
||||
return this.§_-a0§;
|
||||
}
|
||||
|
||||
public function set falloff(value:Number) : void
|
||||
{
|
||||
this.§_-a0§ = value;
|
||||
}
|
||||
|
||||
public function get hotspot() : Number
|
||||
{
|
||||
return this.§_-GR§;
|
||||
}
|
||||
|
||||
public function set hotspot(value:Number) : void
|
||||
{
|
||||
this.§_-GR§ = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get intensity() : Number
|
||||
{
|
||||
return this.§_-74§;
|
||||
}
|
||||
|
||||
public function set intensity(value:Number) : void
|
||||
{
|
||||
this.§_-74§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = 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 = "A3D2SpotLight [";
|
||||
result += "attenuationBegin = " + this.attenuationBegin + " ";
|
||||
result += "attenuationEnd = " + this.attenuationEnd + " ";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "color = " + this.color + " ";
|
||||
result += "falloff = " + this.falloff + " ";
|
||||
result += "hotspot = " + this.hotspot + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "intensity = " + this.intensity + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
216
src/versions/version2/a3d/objects/A3D2Sprite.as
Normal file
216
src/versions/version2/a3d/objects/A3D2Sprite.as
Normal file
@@ -0,0 +1,216 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import alternativa.types.Long;
|
||||
import commons.Id;
|
||||
|
||||
public class A3D2Sprite
|
||||
{
|
||||
private var §_-CL§:Boolean;
|
||||
|
||||
private var §_-jD§:int;
|
||||
|
||||
private var _height:Number;
|
||||
|
||||
private var §_-3I§:Long;
|
||||
|
||||
private var §_-pS§:Id;
|
||||
|
||||
private var _name:String;
|
||||
|
||||
private var §_-4T§:Number;
|
||||
|
||||
private var §_-TP§:Number;
|
||||
|
||||
private var §_-fP§:Long;
|
||||
|
||||
private var §_-2t§:Boolean;
|
||||
|
||||
private var §_-Vd§:Number;
|
||||
|
||||
private var §_-bP§:A3D2Transform;
|
||||
|
||||
private var §_-1u§:Boolean;
|
||||
|
||||
private var §_-qj§:Number;
|
||||
|
||||
public function A3D2Sprite(alwaysOnTop:Boolean, boundBoxId:int, height:Number, id:Long, materialId:Id, name:String, originX:Number, originY:Number, parentId:Long, perspectiveScale:Boolean, rotation:Number, transform:A3D2Transform, visible:Boolean, width:Number)
|
||||
{
|
||||
super();
|
||||
this.§_-CL§ = alwaysOnTop;
|
||||
this.§_-jD§ = boundBoxId;
|
||||
this._height = height;
|
||||
this.§_-3I§ = id;
|
||||
this.§_-pS§ = materialId;
|
||||
this._name = name;
|
||||
this.§_-4T§ = originX;
|
||||
this.§_-TP§ = originY;
|
||||
this.§_-fP§ = parentId;
|
||||
this.§_-2t§ = perspectiveScale;
|
||||
this.§_-Vd§ = rotation;
|
||||
this.§_-bP§ = transform;
|
||||
this.§_-1u§ = visible;
|
||||
this.§_-qj§ = width;
|
||||
}
|
||||
|
||||
public function get alwaysOnTop() : Boolean
|
||||
{
|
||||
return this.§_-CL§;
|
||||
}
|
||||
|
||||
public function set alwaysOnTop(value:Boolean) : void
|
||||
{
|
||||
this.§_-CL§ = value;
|
||||
}
|
||||
|
||||
public function get boundBoxId() : int
|
||||
{
|
||||
return this.§_-jD§;
|
||||
}
|
||||
|
||||
public function set boundBoxId(value:int) : void
|
||||
{
|
||||
this.§_-jD§ = value;
|
||||
}
|
||||
|
||||
public function get height() : Number
|
||||
{
|
||||
return this._height;
|
||||
}
|
||||
|
||||
public function set height(value:Number) : void
|
||||
{
|
||||
this._height = value;
|
||||
}
|
||||
|
||||
public function get id() : Long
|
||||
{
|
||||
return this.§_-3I§;
|
||||
}
|
||||
|
||||
public function set id(value:Long) : void
|
||||
{
|
||||
this.§_-3I§ = value;
|
||||
}
|
||||
|
||||
public function get materialId() : Id
|
||||
{
|
||||
return this.§_-pS§;
|
||||
}
|
||||
|
||||
public function set materialId(value:Id) : void
|
||||
{
|
||||
this.§_-pS§ = value;
|
||||
}
|
||||
|
||||
public function get name() : String
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public function set name(value:String) : void
|
||||
{
|
||||
this._name = value;
|
||||
}
|
||||
|
||||
public function get originX() : Number
|
||||
{
|
||||
return this.§_-4T§;
|
||||
}
|
||||
|
||||
public function set originX(value:Number) : void
|
||||
{
|
||||
this.§_-4T§ = value;
|
||||
}
|
||||
|
||||
public function get originY() : Number
|
||||
{
|
||||
return this.§_-TP§;
|
||||
}
|
||||
|
||||
public function set originY(value:Number) : void
|
||||
{
|
||||
this.§_-TP§ = value;
|
||||
}
|
||||
|
||||
public function get parentId() : Long
|
||||
{
|
||||
return this.§_-fP§;
|
||||
}
|
||||
|
||||
public function set parentId(value:Long) : void
|
||||
{
|
||||
this.§_-fP§ = value;
|
||||
}
|
||||
|
||||
public function get perspectiveScale() : Boolean
|
||||
{
|
||||
return this.§_-2t§;
|
||||
}
|
||||
|
||||
public function set perspectiveScale(value:Boolean) : void
|
||||
{
|
||||
this.§_-2t§ = value;
|
||||
}
|
||||
|
||||
public function get rotation() : Number
|
||||
{
|
||||
return this.§_-Vd§;
|
||||
}
|
||||
|
||||
public function set rotation(value:Number) : void
|
||||
{
|
||||
this.§_-Vd§ = value;
|
||||
}
|
||||
|
||||
public function get transform() : A3D2Transform
|
||||
{
|
||||
return this.§_-bP§;
|
||||
}
|
||||
|
||||
public function set transform(value:A3D2Transform) : void
|
||||
{
|
||||
this.§_-bP§ = value;
|
||||
}
|
||||
|
||||
public function get visible() : Boolean
|
||||
{
|
||||
return this.§_-1u§;
|
||||
}
|
||||
|
||||
public function set visible(value:Boolean) : void
|
||||
{
|
||||
this.§_-1u§ = value;
|
||||
}
|
||||
|
||||
public function get width() : Number
|
||||
{
|
||||
return this.§_-qj§;
|
||||
}
|
||||
|
||||
public function set width(value:Number) : void
|
||||
{
|
||||
this.§_-qj§ = value;
|
||||
}
|
||||
|
||||
public function toString() : String
|
||||
{
|
||||
var result:String = "A3D2Sprite [";
|
||||
result += "alwaysOnTop = " + this.alwaysOnTop + " ";
|
||||
result += "boundBoxId = " + this.boundBoxId + " ";
|
||||
result += "height = " + this.height + " ";
|
||||
result += "id = " + this.id + " ";
|
||||
result += "materialId = " + this.materialId + " ";
|
||||
result += "name = " + this.name + " ";
|
||||
result += "originX = " + this.originX + " ";
|
||||
result += "originY = " + this.originY + " ";
|
||||
result += "parentId = " + this.parentId + " ";
|
||||
result += "perspectiveScale = " + this.perspectiveScale + " ";
|
||||
result += "rotation = " + this.rotation + " ";
|
||||
result += "transform = " + this.transform + " ";
|
||||
result += "visible = " + this.visible + " ";
|
||||
result += "width = " + this.width + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
59
src/versions/version2/a3d/objects/A3D2Surface.as
Normal file
59
src/versions/version2/a3d/objects/A3D2Surface.as
Normal file
@@ -0,0 +1,59 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
public class A3D2Surface
|
||||
{
|
||||
private var §_-50§:int;
|
||||
|
||||
private var §_-pS§:int;
|
||||
|
||||
private var §_-4C§:int;
|
||||
|
||||
public function A3D2Surface(indexBegin:int, materialId:int, 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() : int
|
||||
{
|
||||
return this.§_-pS§;
|
||||
}
|
||||
|
||||
public function set materialId(value:int) : 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 = "A3D2Surface [";
|
||||
result += "indexBegin = " + this.indexBegin + " ";
|
||||
result += "materialId = " + this.materialId + " ";
|
||||
result += "numTriangles = " + this.numTriangles + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
33
src/versions/version2/a3d/objects/A3D2Transform.as
Normal file
33
src/versions/version2/a3d/objects/A3D2Transform.as
Normal file
@@ -0,0 +1,33 @@
|
||||
package versions.version2.a3d.objects
|
||||
{
|
||||
import commons.A3DMatrix;
|
||||
|
||||
public class A3D2Transform
|
||||
{
|
||||
private var §_-6p§:A3DMatrix;
|
||||
|
||||
public function A3D2Transform(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 = "A3D2Transform [";
|
||||
result += "matrix = " + this.matrix + " ";
|
||||
return result + "]";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user