|
| | ParticleEmitterClass (float emit_rate, unsigned int burst_size, Vector3Randomizer *pos_rnd, Vector3 base_vel, Vector3Randomizer *vel_rnd, float out_vel, float vel_inherit_factor, ParticlePropertyStruct< Vector3 > &color, ParticlePropertyStruct< float > &opacity, ParticlePropertyStruct< float > &size, ParticlePropertyStruct< float > &rotation, float orient_rnd, ParticlePropertyStruct< float > &frames, ParticlePropertyStruct< float > &blur_times, Vector3 accel, float max_age, float future_start, TextureClass *tex, ShaderClass shader=ShaderClass::_PresetAdditiveSpriteShader, int max_particles=0, int max_buffer_size=-1, bool pingpong=false, int render_mode=W3D_EMITTER_RENDER_MODE_TRI_PARTICLES, int frame_mode=W3D_EMITTER_FRAME_MODE_1x1, const W3dEmitterLinePropertiesStruct *line_props=NULL) |
| |
| | ParticleEmitterClass (const ParticleEmitterClass &src) |
| |
| ParticleEmitterClass & | operator= (const ParticleEmitterClass &) |
| |
| virtual | ~ParticleEmitterClass (void) |
| |
| virtual RenderObjClass * | Clone (void) const |
| |
| ParticleEmitterDefClass * | Build_Definition (void) const |
| |
| WW3DErrorType | Save (ChunkSaveClass &chunk_save) const |
| |
| virtual int | Class_ID (void) const |
| |
| virtual const char * | Get_Name (void) const |
| |
| virtual void | Set_Name (const char *pname) |
| |
| virtual void | Notify_Added (SceneClass *scene) |
| |
| virtual void | Notify_Removed (SceneClass *scene) |
| |
| virtual void | Render (RenderInfoClass &rinfo) |
| |
| virtual void | Restart (void) |
| |
| virtual void | Scale (float scale) |
| |
| virtual void | On_Frame_Update (void) |
| |
| virtual void | Get_Obj_Space_Bounding_Sphere (SphereClass &sphere) const |
| |
| virtual void | Get_Obj_Space_Bounding_Box (AABoxClass &box) const |
| |
| virtual void | Set_Hidden (int onoff) |
| |
| virtual void | Set_Visible (int onoff) |
| |
| virtual void | Set_Animation_Hidden (int onoff) |
| |
| virtual void | Set_Force_Visible (int onoff) |
| |
| virtual void | Set_LOD_Bias (float bias) |
| |
| void | Reset (void) |
| |
| void | Start (void) |
| |
| void | Stop (void) |
| |
| bool | Is_Stopped (void) |
| |
| void | Set_Invisible (bool onoff) |
| |
| bool | Is_Invisible (void) |
| |
| void | Set_Position_Randomizer (Vector3Randomizer *rand) |
| |
| void | Set_Velocity_Randomizer (Vector3Randomizer *rand) |
| |
| void | Set_Base_Velocity (const Vector3 &base_vel) |
| |
| void | Set_Outwards_Velocity (float out_vel) |
| |
| void | Set_Velocity_Inheritance_Factor (float inh_factor) |
| |
| void | Set_Acceleration (const Vector3 &acceleration) |
| |
| void | Reset_Colors (ParticlePropertyStruct< Vector3 > &new_props) |
| |
| void | Reset_Opacity (ParticlePropertyStruct< float > &new_props) |
| |
| void | Reset_Size (ParticlePropertyStruct< float > &new_props) |
| |
| void | Reset_Rotations (ParticlePropertyStruct< float > &new_props, float orient_rnd) |
| |
| void | Reset_Frames (ParticlePropertyStruct< float > &new_props) |
| |
| void | Reset_Blur_Times (ParticlePropertyStruct< float > &new_props) |
| |
| void | Set_Emission_Rate (float rate) |
| |
| void | Set_Burst_Size (int size) |
| |
| void | Set_One_Time_Burst (int size) |
| |
| virtual void | Emit (void) |
| |
| ParticleBufferClass * | Peek_Buffer (void) |
| |
| void | Buffer_Scene_Not_Needed (void) |
| |
| void | Remove_Buffer_From_Scene (void) |
| |
| virtual bool | Is_Complete (void) |
| |
| bool | Is_Remove_On_Complete_Enabled (void) |
| |
| void | Enable_Remove_On_Complete (bool onoff) |
| |
| virtual int | Get_User_Type (void) const |
| |
| virtual const char * | Get_User_String (void) const |
| |
| int | Get_Render_Mode (void) const |
| |
| int | Get_Frame_Mode (void) const |
| |
| float | Get_Particle_Size (void) const |
| |
| Vector3 | Get_Acceleration (void) const |
| |
| float | Get_Lifetime (void) const |
| |
| float | Get_Future_Start_Time (void) const |
| |
| Vector3 | Get_End_Color (void) const |
| |
| float | Get_End_Opacity (void) const |
| |
| TextureClass * | Get_Texture (void) const |
| |
| void | Set_Texture (TextureClass *tex) |
| |
| float | Get_Fade_Time (void) const |
| |
| Vector3 | Get_Start_Color (void) const |
| |
| float | Get_Start_Opacity (void) const |
| |
| float | Get_Position_Random (void) const |
| |
| float | Get_Emission_Rate (void) const |
| |
| int | Get_Burst_Size (void) const |
| |
| int | Get_Max_Particles (void) const |
| |
| Vector3 | Get_Start_Velocity (void) const |
| |
| Vector3Randomizer * | Get_Creation_Volume (void) const |
| |
| Vector3Randomizer * | Get_Velocity_Random (void) const |
| |
| float | Get_Outwards_Vel (void) const |
| |
| float | Get_Velocity_Inherit (void) const |
| |
| ShaderClass | Get_Shader (void) const |
| |
| void | Get_Color_Key_Frames (ParticlePropertyStruct< Vector3 > &colors) const |
| |
| void | Get_Opacity_Key_Frames (ParticlePropertyStruct< float > &opacities) const |
| |
| void | Get_Size_Key_Frames (ParticlePropertyStruct< float > &sizes) const |
| |
| void | Get_Rotation_Key_Frames (ParticlePropertyStruct< float > &rotations) const |
| |
| void | Get_Frame_Key_Frames (ParticlePropertyStruct< float > &frames) const |
| |
| void | Get_Blur_Time_Key_Frames (ParticlePropertyStruct< float > &blurtimes) const |
| |
| float | Get_Initial_Orientation_Random (void) const |
| |
| int | Get_Line_Texture_Mapping_Mode (void) const |
| |
| int | Is_Merge_Intersections (void) const |
| |
| int | Is_Freeze_Random (void) const |
| |
| int | Is_Sorting_Disabled (void) const |
| |
| int | Are_End_Caps_Enabled (void) const |
| |
| int | Get_Subdivision_Level (void) const |
| |
| float | Get_Noise_Amplitude (void) const |
| |
| float | Get_Merge_Abort_Factor (void) const |
| |
| float | Get_Texture_Tile_Factor (void) const |
| |
| Vector2 | Get_UV_Offset_Rate (void) const |
| |
| | RenderObjClass (void) |
| |
| | RenderObjClass (const RenderObjClass &src) |
| |
| RenderObjClass & | operator= (const RenderObjClass &) |
| |
| virtual | ~RenderObjClass (void) |
| |
| virtual const char * | Get_Base_Model_Name (void) const |
| |
| virtual void | Set_Base_Model_Name (const char *name) |
| |
| virtual int | Get_Num_Polys (void) const |
| |
| virtual void | Special_Render (SpecialRenderInfoClass &rinfo) |
| |
| virtual void | Add (SceneClass *scene) |
| |
| virtual void | Remove (void) |
| |
| virtual SceneClass * | Get_Scene (void) |
| |
| virtual SceneClass * | Peek_Scene (void) |
| |
| virtual void | Set_Container (RenderObjClass *con) |
| |
| virtual void | Validate_Transform (void) const |
| |
| RenderObjClass * | Get_Container (void) const |
| |
| virtual void | Set_Transform (const Matrix3D &m) |
| |
| virtual void | Set_Position (const Vector3 &v) |
| |
| const Matrix3D & | Get_Transform (void) const |
| |
| const Matrix3D & | Get_Transform (bool &is_transform_identity) const |
| |
| const Matrix3D & | Get_Transform_No_Validity_Check (void) const |
| |
| const Matrix3D & | Get_Transform_No_Validity_Check (bool &is_transform_identity) const |
| |
| bool | Is_Transform_Identity () const |
| |
| bool | Is_Transform_Identity_No_Validity_Check () const |
| |
| Vector3 | Get_Position (void) const |
| |
| virtual int | Get_Num_Sub_Objects (void) const |
| |
| virtual RenderObjClass * | Get_Sub_Object (int index) const |
| |
| virtual int | Add_Sub_Object (RenderObjClass *subobj) |
| |
| virtual int | Remove_Sub_Object (RenderObjClass *robj) |
| |
| virtual RenderObjClass * | Get_Sub_Object_By_Name (const char *name, int *index=NULL) const |
| |
| virtual int | Get_Num_Sub_Objects_On_Bone (int boneindex) const |
| |
| virtual RenderObjClass * | Get_Sub_Object_On_Bone (int index, int boneindex) const |
| |
| virtual int | Get_Sub_Object_Bone_Index (RenderObjClass *subobj) const |
| |
| virtual int | Get_Sub_Object_Bone_Index (int LodIndex, int ModelIndex) const |
| |
| virtual int | Add_Sub_Object_To_Bone (RenderObjClass *subobj, int bone_index) |
| |
| virtual int | Add_Sub_Object_To_Bone (RenderObjClass *subobj, const char *bname) |
| |
| virtual int | Remove_Sub_Objects_From_Bone (int boneindex) |
| |
| virtual int | Remove_Sub_Objects_From_Bone (const char *bname) |
| |
| virtual void | Update_Sub_Object_Transforms (void) |
| |
| virtual void | Set_Animation (void) |
| |
| virtual void | Set_Animation (HAnimClass *motion, float frame, int anim_mode=ANIM_MODE_MANUAL) |
| |
| virtual void | Set_Animation (HAnimClass *motion0, float frame0, HAnimClass *motion1, float frame1, float percentage) |
| |
| virtual void | Set_Animation (HAnimComboClass *anim_combo) |
| |
| virtual HAnimClass * | Peek_Animation (void) |
| |
| virtual int | Get_Num_Bones (void) |
| |
| virtual const char * | Get_Bone_Name (int bone_index) |
| |
| virtual int | Get_Bone_Index (const char *bonename) |
| |
| virtual const Matrix3D & | Get_Bone_Transform (const char *bonename) |
| |
| virtual const Matrix3D & | Get_Bone_Transform (int boneindex) |
| |
| virtual void | Capture_Bone (int bindex) |
| |
| virtual void | Release_Bone (int bindex) |
| |
| virtual bool | Is_Bone_Captured (int bindex) const |
| |
| virtual void | Control_Bone (int bindex, const Matrix3D &objtm, bool world_space_translation=false) |
| |
| virtual const HTreeClass * | Get_HTree (void) const |
| |
| virtual bool | Cast_Ray (RayCollisionTestClass &raytest) |
| |
| virtual bool | Cast_AABox (AABoxCollisionTestClass &boxtest) |
| |
| virtual bool | Cast_OBBox (OBBoxCollisionTestClass &boxtest) |
| |
| virtual bool | Intersect_AABox (AABoxIntersectionTestClass &boxtest) |
| |
| virtual bool | Intersect_OBBox (OBBoxIntersectionTestClass &boxtest) |
| |
| virtual bool | Intersect (IntersectionClass *Intersection, IntersectionResultClass *Final_Result) |
| |
| virtual bool | Intersect_Sphere (IntersectionClass *Intersection, IntersectionResultClass *Final_Result) |
| |
| virtual bool | Intersect_Sphere_Quick (IntersectionClass *Intersection, IntersectionResultClass *Final_Result) |
| |
| virtual const SphereClass & | Get_Bounding_Sphere (void) const |
| |
| virtual const AABoxClass & | Get_Bounding_Box (void) const |
| |
| virtual void | Update_Obj_Space_Bounding_Volumes (void) |
| |
| virtual void | Prepare_LOD (CameraClass &camera) |
| |
| virtual void | Recalculate_Static_LOD_Factors (void) |
| |
| virtual void | Increment_LOD (void) |
| |
| virtual void | Decrement_LOD (void) |
| |
| virtual float | Get_Cost (void) const |
| |
| virtual float | Get_Value (void) const |
| |
| virtual float | Get_Post_Increment_Value (void) const |
| |
| virtual void | Set_LOD_Level (int lod) |
| |
| virtual int | Get_LOD_Level (void) const |
| |
| virtual int | Get_LOD_Count (void) const |
| |
| virtual int | Calculate_Cost_Value_Arrays (float screen_area, float *values, float *costs) const |
| |
| virtual RenderObjClass * | Get_Current_LOD (void) |
| |
| virtual bool | Build_Dependency_List (DynamicVectorClass< StringClass > &file_list, bool recursive=true) |
| |
| virtual bool | Build_Texture_List (DynamicVectorClass< StringClass > &texture_file_list, bool recursive=true) |
| |
| virtual void | Create_Decal (DecalGeneratorClass *generator) |
| |
| virtual void | Delete_Decal (uint32 decal_id) |
| |
| virtual MaterialInfoClass * | Get_Material_Info (void) |
| |
| virtual void | Set_User_Data (void *value, bool recursive=false) |
| |
| virtual void * | Get_User_Data () |
| |
| virtual int | Get_Num_Snap_Points (void) |
| |
| virtual void | Get_Snap_Point (int index, Vector3 *set) |
| |
| virtual float | Get_Screen_Size (CameraClass &camera) |
| |
| virtual void | Scale (float scalex, float scaley, float scalez) |
| |
| virtual void | Set_ObjectScale (float scale) |
| |
| const float | Get_ObjectScale (void) const |
| |
| void | Set_ObjectColor (unsigned int color) |
| |
| const unsigned int | Get_ObjectColor (void) const |
| |
| virtual int | Get_Sort_Level (void) const |
| |
| virtual void | Set_Sort_Level (int level) |
| |
| virtual int | Is_Really_Visible (void) |
| |
| virtual int | Is_Not_Hidden_At_All (void) |
| |
| virtual int | Is_Visible (void) const |
| |
| virtual int | Is_Hidden (void) const |
| |
| virtual int | Is_Animation_Hidden (void) const |
| |
| virtual int | Is_Force_Visible (void) const |
| |
| virtual int | Is_Translucent (void) const |
| |
| virtual void | Set_Translucent (int onoff) |
| |
| virtual int | Is_Alpha (void) const |
| |
| virtual void | Set_Alpha (int onoff) |
| |
| virtual int | Is_Additive (void) const |
| |
| virtual void | Set_Additive (int onoff) |
| |
| virtual int | Get_Collision_Type (void) const |
| |
| virtual void | Set_Collision_Type (int type) |
| |
| virtual bool | Is_In_Scene (void) |
| |
| virtual float | Get_Native_Screen_Size (void) const |
| |
| virtual void | Set_Native_Screen_Size (float screensize) |
| |
| void | Set_Sub_Objects_Match_LOD (int onoff) |
| |
| int | Is_Sub_Objects_Match_LOD_Enabled (void) |
| |
| void | Set_Sub_Object_Transforms_Dirty (bool onoff) |
| |
| bool | Are_Sub_Object_Transforms_Dirty (void) |
| |
| void | Set_Ignore_LOD_Cost (bool onoff) |
| |
| bool | Is_Ignoring_LOD_Cost (void) |
| |
| void | Set_Is_Self_Shadowed () |
| |
| void | Unset_Is_Self_Shadowed () |
| |
| int | Is_Self_Shadowed () const |
| |
| virtual const PersistFactoryClass & | Get_Factory (void) const |
| |
| virtual bool | Save (ChunkSaveClass &csave) |
| |
| virtual bool | Load (ChunkLoadClass &cload) |
| |
| RenderHookClass * | Get_Render_Hook (void) |
| |
| void | Set_Render_Hook (RenderHookClass *hook) |
| |
| | RefCountClass (void) |
| |
| | RefCountClass (const RefCountClass &) |
| |
| void | Add_Ref (void) const |
| |
| WWINLINE void | Release_Ref (void) const |
| |
| int | Num_Refs (void) const |
| |
| virtual void | Delete_This (void) |
| |
| | PostLoadableClass (void) |
| |
| virtual | ~PostLoadableClass (void) |
| |
| virtual void | On_Post_Load (void) |
| |
| bool | Is_Post_Load_Registered (void) |
| |
| void | Set_Post_Load_Registered (bool onoff) |
| |
| | MultiListObjectClass (void) |
| |
| virtual | ~MultiListObjectClass (void) |
| |
| MultiListNodeClass * | Get_List_Node () const |
| |
| void | Set_List_Node (MultiListNodeClass *node) |
| |
ParticleEmitterClass: This is a renderobject which emits particles regularly. The particles emitted go into a different renderobject, a ParticleBufferClass (there is one particle buffer per particle emitter). This separation is so that the bounding volumes of the particle group and the object containing the emitter (emitters will typically be inserted into a hierarchy object or some such) will remain separate.
Definition at line 106 of file part_emt.h.