Available on all platforms
...
new()
numParticles:Int
particles:Vector<ParticleData>
read onlyassetType:String
read onlysubGeometries:Vector<ISubGeometry>
read onlyassetFullPath:Array<Dynamic>
read onlyassetNamespace:String
id:String
name:String
read onlyoriginalName:String
addSubGeometry(subGeometry:ISubGeometry):Void
Adds a new SubGeometry object to the list.
Parameters:
subGeometry
The SubGeometry object to be added.
applyTransformation(transform:Matrix3D):Void
clone():Geometry
Clones the geometry.
Returns:
An exact duplicate of the current Geometry object.
convertToSeparateBuffers():Void
Updates the SubGeometries so all vertex data is represented in different buffers. Use this for compatibility with Pixel Bender and PBPickingCollider
dispose():Void
Clears all resources used by the Geometry object, including SubGeometries.
removeSubGeometry(subGeometry:ISubGeometry):Void
Removes a new SubGeometry object from the list.
The SubGeometry object to be removed.
scale(scale:Float):Void
Scales the geometry.
scale
The amount by which to scale.
@:value({ scaleV : 1, scaleU : 1 })scaleUV(scaleU:Float = 1, scaleV:Float = 1):Void
Scales the uv coordinates (tiling)
scaleU
The amount by which to scale on the u axis. Default is 1;
scaleV
The amount by which to scale on the v axis. Default is 1;
assetPathEquals(name:String, ns:String):Bool
@:value({ overrideOriginal : true, ns : null })resetAssetPath(name:String, ?ns:String, overrideOriginal:Bool = true):Void