86 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			86 lines
		
	
	
		
			3.0 KiB
		
	
	
	
		
			C++
		
	
	
	
	
	
// Generated by Haxe 4.0.5
 | 
						|
#ifndef INCLUDED_openfl_media_SoundTransform
 | 
						|
#define INCLUDED_openfl_media_SoundTransform
 | 
						|
 | 
						|
#ifndef HXCPP_H
 | 
						|
#include <hxcpp.h>
 | 
						|
#endif
 | 
						|
 | 
						|
HX_DECLARE_STACK_FRAME(_hx_pos_b69a1b3bd673fa32_58_new)
 | 
						|
HX_DECLARE_CLASS2(openfl,media,SoundTransform)
 | 
						|
 | 
						|
namespace openfl{
 | 
						|
namespace media{
 | 
						|
 | 
						|
 | 
						|
class HXCPP_CLASS_ATTRIBUTES SoundTransform_obj : public hx::Object
 | 
						|
{
 | 
						|
	public:
 | 
						|
		typedef hx::Object super;
 | 
						|
		typedef SoundTransform_obj OBJ_;
 | 
						|
		SoundTransform_obj();
 | 
						|
 | 
						|
	public:
 | 
						|
		enum { _hx_ClassId = 0x00b0ff2d };
 | 
						|
 | 
						|
		void __construct(hx::Null< Float >  __o_vol,hx::Null< Float >  __o_panning);
 | 
						|
		inline void *operator new(size_t inSize, bool inContainer=false,const char *inName="openfl.media.SoundTransform")
 | 
						|
			{ return hx::Object::operator new(inSize,inContainer,inName); }
 | 
						|
		inline void *operator new(size_t inSize, int extra)
 | 
						|
			{ return hx::Object::operator new(inSize+extra,false,"openfl.media.SoundTransform"); }
 | 
						|
 | 
						|
		inline static hx::ObjectPtr< SoundTransform_obj > __new(hx::Null< Float >  __o_vol,hx::Null< Float >  __o_panning) {
 | 
						|
			hx::ObjectPtr< SoundTransform_obj > __this = new SoundTransform_obj();
 | 
						|
			__this->__construct(__o_vol,__o_panning);
 | 
						|
			return __this;
 | 
						|
		}
 | 
						|
 | 
						|
		inline static hx::ObjectPtr< SoundTransform_obj > __alloc(hx::Ctx *_hx_ctx,hx::Null< Float >  __o_vol,hx::Null< Float >  __o_panning) {
 | 
						|
			SoundTransform_obj *__this = (SoundTransform_obj*)(hx::Ctx::alloc(_hx_ctx, sizeof(SoundTransform_obj), false, "openfl.media.SoundTransform"));
 | 
						|
			*(void **)__this = SoundTransform_obj::_hx_vtable;
 | 
						|
{
 | 
						|
            		Float vol = __o_vol.Default(1);
 | 
						|
            		Float panning = __o_panning.Default(0);
 | 
						|
            	HX_STACKFRAME(&_hx_pos_b69a1b3bd673fa32_58_new)
 | 
						|
HXLINE(  59)		( ( ::openfl::media::SoundTransform)(__this) )->volume = vol;
 | 
						|
HXLINE(  60)		( ( ::openfl::media::SoundTransform)(__this) )->pan = panning;
 | 
						|
HXLINE(  61)		( ( ::openfl::media::SoundTransform)(__this) )->leftToLeft = ( (Float)(0) );
 | 
						|
HXLINE(  62)		( ( ::openfl::media::SoundTransform)(__this) )->leftToRight = ( (Float)(0) );
 | 
						|
HXLINE(  63)		( ( ::openfl::media::SoundTransform)(__this) )->rightToLeft = ( (Float)(0) );
 | 
						|
HXLINE(  64)		( ( ::openfl::media::SoundTransform)(__this) )->rightToRight = ( (Float)(0) );
 | 
						|
            	}
 | 
						|
		
 | 
						|
			return __this;
 | 
						|
		}
 | 
						|
 | 
						|
		static void * _hx_vtable;
 | 
						|
		static Dynamic __CreateEmpty();
 | 
						|
		static Dynamic __Create(hx::DynamicArray inArgs);
 | 
						|
		//~SoundTransform_obj();
 | 
						|
 | 
						|
		HX_DO_RTTI_ALL;
 | 
						|
		hx::Val __Field(const ::String &inString, hx::PropertyAccess inCallProp);
 | 
						|
		hx::Val __SetField(const ::String &inString,const hx::Val &inValue, hx::PropertyAccess inCallProp);
 | 
						|
		void __GetFields(Array< ::String> &outFields);
 | 
						|
		static void __register();
 | 
						|
		bool _hx_isInstanceOf(int inClassId);
 | 
						|
		::String __ToString() const { return HX_("SoundTransform",bd,82,34,cd); }
 | 
						|
 | 
						|
		static void __boot();
 | 
						|
		static  ::Dynamic __meta__;
 | 
						|
		Float leftToLeft;
 | 
						|
		Float leftToRight;
 | 
						|
		Float pan;
 | 
						|
		Float rightToLeft;
 | 
						|
		Float rightToRight;
 | 
						|
		Float volume;
 | 
						|
		 ::openfl::media::SoundTransform clone();
 | 
						|
		::Dynamic clone_dyn();
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
} // end namespace openfl
 | 
						|
} // end namespace media
 | 
						|
 | 
						|
#endif /* INCLUDED_openfl_media_SoundTransform */ 
 |