BBMOD Docs
  • BBMOD Docs
  • Changelog
    • 3.16.7
    • 3.16.6
    • 3.16.5
    • 3.16.4
    • 3.16.3
    • 3.16.2
    • 3.16.1
    • 3.16.0
    • 3.15.1
    • 3.15.0
    • 3.14.1
    • 3.14.0
    • 3.13.1
    • 3.13.0
    • 3.12.0
    • 3.11.0
    • 3.10.0
    • 3.9.0
    • 3.8.0
    • 3.7.2
    • 3.7.1
    • 3.7.0
    • 3.6.2
    • 3.6.1
    • 3.6.0
    • 3.5.1
    • 3.5.0
    • 3.4.3
    • 3.4.2
    • 3.4.1
    • 3.4.0
    • 3.3.0
    • 3.2.0
    • 3.1.11
    • 3.1.10
    • 3.1.9
    • 3.1.8
    • 3.1.7
    • 3.1.6
    • 3.1.5
    • 3.1.4
    • 3.1.3
    • 3.1.2
    • 3.1.1
    • 3.1.0
    • 3.0.0
  • Supported file formats
  • Quickstart guide
    • Installation
    • Converting models
    • Loading models
    • Materials
    • Rendering models
    • Animations
    • Animation events
    • Bone attachments
    • Transforming bones
    • Dynamic lights and fog
  • Advanced topics
    • Rendering
      • Transforming models
      • Using a camera
      • Using a renderer
      • Render passes
    • Animation optimization levels
  • Modules
    • Core module
    • Gizmo module
    • Particles module
    • Raycasting module
    • Rendering module
      • FXAA submodule
      • Post-processing submodule
      • Sky submodule
      • SSAO submodule
    • Save module
    • State machine module
    • Terrain module
    • ColMesh module
  • Scripting API
    • BBMOD_AABBCollider
      • FromMinMax
      • GetMax
      • GetMin
      • Position
      • Size
    • BBMOD_AABBEmissionModule
      • Inside
      • Max
      • Min
    • BBMOD_AddRealOnCollisionModule
      • Change
      • Property
    • BBMOD_AddRealOverTimeModule
      • Change
      • Period
      • Property
    • BBMOD_AddVec2OnCollisionModule
      • Change
      • Property
    • BBMOD_AddVec2OverTimeModule
      • Change
      • Period
      • Property
    • BBMOD_AddVec3OnCollisionModule
      • Change
      • Property
    • BBMOD_AddVec3OverTimeModule
      • Change
      • Period
      • Property
    • BBMOD_AddVec4OnCollisionModule
      • Change
      • Property
    • BBMOD_AddVec4OverTimeModule
      • Change
      • Period
      • Property
    • BBMOD_Animation
      • Duration
      • IsLoaded
      • TicsPerSecond
      • TransitionIn
      • TransitionOut
      • VersionMajor
      • VersionMinor
      • add_event
      • create_transition
      • from_buffer
      • get_animation_time
      • supports_attachments
      • supports_bone_transform
      • supports_transitions
      • to_buffer
    • BBMOD_AnimationInstance
      • Animation
      • Loop
    • BBMOD_AnimationPlayer
      • Animation
      • AnimationLoops
      • Frameskip
      • Model
      • Paused
      • PlaybackSpeed
      • Time
      • change
      • get_node_transform
      • get_node_transform_from_frame
      • get_transform
      • play
      • render
      • set_node_position
      • set_node_rotation
      • set_node_rotation_post
      • submit
      • update
    • BBMOD_AnimationState
      • Animation
      • Loop
    • BBMOD_AnimationStateMachine
      • AnimationPlayer
    • BBMOD_AttractorModule
      • Force
      • Position
      • Radius
      • Relative
    • BBMOD_BaseCamera
      • AspectRatio
      • AudioListener
      • Exposure
      • Fov
      • Height
      • Orthographic
      • Position
      • Raw
      • Target
      • Up
      • ViewProjectionMatrix
      • Width
      • ZFar
      • ZNear
      • apply
      • get_forward
      • get_proj_mat
      • get_right
      • get_up
      • get_view_mat
      • screen_point_to_vec3
      • update
      • update_matrices
      • world_to_screen
    • BBMOD_BaseMaterial
      • BaseOpacityMultiplier
      • ShadowmapBias
      • TextureOffset
      • TextureScale
    • BBMOD_BaseRenderer
      • ButtonSelect
      • EditMode
      • EnableMousepick
      • EnablePostProcessing OBSOLETE
      • EnableShadows
      • Gizmo
      • Height
      • InstanceHighlightColor
      • KeyMultiSelect
      • PostProcessor
      • RenderInstanceIDs
      • RenderScale
      • Renderables
      • ShadowmapArea OBSOLETE
      • ShadowmapNormalOffset
      • ShadowmapResolution OBSOLETE
      • UseAppSurface
      • Width
      • X
      • Y
      • add
      • get_height
      • get_instance_id
      • get_render_height
      • get_render_width
      • get_width
      • present
      • remove
      • render
      • set_position
      • set_rectangle
      • set_size
      • update
    • BBMOD_BaseShader
      • MaxPointLights OBSOLETE
      • MaxPunctualLights
      • set_alpha_test
      • set_ambient_light
      • set_batch_data
      • set_bones
      • set_cam_pos
      • set_directional_light
      • set_exposure
      • set_fog
      • set_ibl
      • set_instance_id
      • set_material
      • set_material_index
      • set_point_lights DEPRECATED
      • set_punctual_lights
      • set_texture_offset
      • set_texture_scale
    • BBMOD_CLASS_GENERATED_BODY
    • BBMOD_C_AQUA
    • BBMOD_C_BLACK
    • BBMOD_C_BLUE
    • BBMOD_C_DKGRAY
    • BBMOD_C_FUCHSIA
    • BBMOD_C_GRAY
    • BBMOD_C_GREEN
    • BBMOD_C_LIME
    • BBMOD_C_LTGRAY
    • BBMOD_C_MAROON
    • BBMOD_C_NAVY
    • BBMOD_C_OLIVE
    • BBMOD_C_ORANGE
    • BBMOD_C_PURPLE
    • BBMOD_C_RED
    • BBMOD_C_SILVER
    • BBMOD_C_TEAL
    • BBMOD_C_WHITE
    • BBMOD_C_YELLOW
    • BBMOD_Camera
      • Direction
      • DirectionUp
      • DirectionUpMax
      • DirectionUpMin
      • FollowCurve
      • FollowFactor
      • FollowObject
      • MouseLook
      • MouseSensitivity
      • Offset
      • Roll
      • Zoom
      • set_mouselook
      • update
    • BBMOD_Class
      • destroy
      • implement
      • implements
      • is_instance
    • BBMOD_Collider
      • DrawDebug
      • GetClosestPoint
      • Raycast
      • TestAABB
      • TestFrustum
      • TestPlane
      • TestPoint
      • TestSphere
    • BBMOD_CollisionEventModule
      • Callback
    • BBMOD_CollisionKillModule
    • BBMOD_Color
      • Alpha
      • Blue
      • Clone
      • Copy
      • FromConstant
      • FromHSV
      • FromHex
      • FromRGBA
      • Green
      • Mix
      • Red
      • ToConstant
      • ToHSV
      • ToRGBM
    • BBMOD_Cubemap
      • Position
      • Resolution
      • Sides
      • Surface
      • ZFar
      • ZNear
      • get_projection_matrix
      • get_surface
      • get_view_matrix
      • set_target
      • to_single_surface
    • BBMOD_DLL
      • Path OBSOLETE
      • convert
      • get_apply_scale
      • get_disable_bone
      • get_disable_color
      • get_disable_normal
      • get_disable_tangent
      • get_disable_uv
      • get_disable_uv2
      • get_flip_normal
      • get_flip_uv_horizontally
      • get_flip_uv_vertically
      • get_gen_normal
      • get_invert_winding
      • get_left_handed
      • get_optimize_animations
      • get_optimize_materials
      • get_optimize_meshes
      • get_optimize_nodes
      • get_pre_transform
      • get_sampling_rate
      • set_apply_scale
      • set_disable_bone
      • set_disable_color
      • set_disable_normal
      • set_disable_tangent
      • set_disable_uv
      • set_disable_uv2
      • set_flip_normal
      • set_flip_uv_horizontally
      • set_flip_uv_vertically
      • set_gen_normal
      • set_invert_winding
      • set_left_handed
      • set_optimize_animations
      • set_optimize_materials
      • set_optimize_meshes
      • set_optimize_nodes
      • set_pre_transform
      • set_sampling_rate
    • BBMOD_DLL_IS_SUPPORTED
    • BBMOD_DLL_PATH
    • BBMOD_DefaultLightmapMaterial
      • Lightmap
    • BBMOD_DefaultLightmapShader
      • set_lightmap
    • BBMOD_DefaultMaterial
      • Emissive
      • MetallicAO
      • NormalRoughness
      • NormalSmoothness
      • SpecularColor
      • Subsurface
      • set_emissive
      • set_metallic_ao
      • set_normal_roughness
      • set_normal_smoothness
      • set_specular_color
      • set_subsurface
    • BBMOD_DefaultRenderer
      • EnableGBuffer
      • EnableSSAO
      • GBufferScale
      • SSAOAngleBias
      • SSAOBlurDepthRange
      • SSAODepthRange
      • SSAOPower
      • SSAORadius
      • SSAOScale
      • SSAOSelfOcclusionBias
    • BBMOD_DefaultShader
      • set_emissive
      • set_metallic_ao
      • set_normal_roughness
      • set_normal_smoothness
      • set_specular_color
      • set_subsurface
    • BBMOD_DefaultSpriteShader
    • BBMOD_DirectionalLight
      • Color
      • Direction
      • ShadowmapArea
    • BBMOD_DragModule
    • BBMOD_DualQuaternion
      • Add
      • Clone
      • Conjugate
      • Copy
      • Dot
      • Dual
      • Exp
      • FromArray
      • FromBuffer
      • FromRealDual
      • FromTranslationRotation
      • GetRotation
      • GetTranslation
      • Log
      • Mul
      • Normalize
      • Pow
      • Real
      • Rotate
      • Scale
      • Sclerp
      • ToArray
      • ToBuffer
      • ToMatrix
      • Transform
    • BBMOD_DynamicBatch
      • Batch
      • BatchLength
      • DataWriter
      • InstanceCount
      • Model
      • Size
      • SlotsPerInstance
      • add_instance
      • default_fn
      • freeze
      • from_model
      • remove_instance
      • render
      • render_object
      • submit
      • submit_object
      • update_instance
    • BBMOD_EAntialiasing
      • FXAA
      • None
    • BBMOD_ECubeSide
      • NegX
      • NegY
      • NegZ
      • PosX
      • PosY
      • PosZ
      • SIZE
    • BBMOD_EEditAxis
      • All
      • None
      • X
      • Y
      • Z
    • BBMOD_EEditSpace
      • Global
      • Local
      • SIZE
    • BBMOD_EEditType
      • Position
      • Rotation
      • SIZE
      • Scale
    • BBMOD_EFrustumPlane
      • Bottom
      • Far
      • Left
      • Near
      • Right
      • SIZE
      • Top
    • BBMOD_EParticle
      • AccelerationRealX
      • AccelerationRealY
      • AccelerationRealZ
      • AccelerationX
      • AccelerationY
      • AccelerationZ
      • Bounce
      • ColorA
      • ColorB
      • ColorG
      • ColorR
      • Drag
      • HasCollided
      • Health
      • HealthLeft
      • Id
      • IsAlive
      • Mass
      • PositionX
      • PositionY
      • PositionZ
      • RotationW
      • RotationX
      • RotationY
      • RotationZ
      • SIZE
      • ScaleX
      • ScaleY
      • ScaleZ
      • TimeAlive
      • VelocityX
      • VelocityY
      • VelocityZ
    • BBMOD_EPropertyType
      • Bool
      • Color
      • GMFont
      • GMObject
      • GMPath
      • GMRoom
      • GMScript
      • GMShader
      • GMSound
      • GMSprite
      • GMTileSet
      • GMTimeline
      • Matrix
      • Path
      • Quaternion
      • Real
      • RealArray
      • String
      • Vec2
      • Vec3
      • Vec4
    • BBMOD_ERenderCommand
      • ApplyMaterial
      • BeginConditionalBlock
      • CheckRenderPass
      • DrawMesh
      • DrawMeshAnimated
      • DrawMeshBatched
      • EndConditionalBlock
      • PopGpuState
      • PushGpuState
      • ResetMaterial
      • ResetShader
      • SetGpuAlphaTestEnable
      • SetGpuAlphaTestRef
      • SetGpuBlendEnable
      • SetGpuBlendMode
      • SetGpuBlendModeExt
      • SetGpuBlendModeExtSepAlpha
      • SetGpuColorWriteEnable
      • SetGpuCullMode
      • SetGpuFog
      • SetGpuTexFilter
      • SetGpuTexFilterExt
      • SetGpuTexMaxAniso
      • SetGpuTexMaxAnisoExt
      • SetGpuTexMaxMip
      • SetGpuTexMaxMipExt
      • SetGpuTexMinMip
      • SetGpuTexMinMipExt
      • SetGpuTexMipBias
      • SetGpuTexMipBiasExt
      • SetGpuTexMipEnable
      • SetGpuTexMipEnableExt
      • SetGpuTexMipFilter
      • SetGpuTexMipFilterExt
      • SetGpuTexRepeat
      • SetGpuTexRepeatExt
      • SetGpuZFunc
      • SetGpuZTestEnable
      • SetGpuZWriteEnable
      • SetProjectionMatrix
      • SetSampler
      • SetShader
      • SetUniformFloat
      • SetUniformFloat2
      • SetUniformFloat3
      • SetUniformFloat4
      • SetUniformFloatArray
      • SetUniformInt
      • SetUniformInt2
      • SetUniformInt3
      • SetUniformInt4
      • SetUniformIntArray
      • SetUniformMatrix
      • SetUniformMatrixArray
      • SetViewMatrix
      • SetWorldMatrix
      • SubmitVertexBuffer
    • BBMOD_ERenderPass
      • Alpha
      • Deferred DEPRECATED
      • DepthOnly
      • Forward
      • GBuffer
      • Id
      • SIZE
      • Shadows
    • BBMOD_EV_ANIMATION_CHANGE
    • BBMOD_EV_ANIMATION_END
    • BBMOD_EV_ANIMATION_LOOP
    • BBMOD_EmissionModule
      • Count
    • BBMOD_EmissionOverTimeModule
      • Count
      • Interval
    • BBMOD_Exception
      • Message
    • BBMOD_FrustumCollider
      • FromCamera
      • FromViewProjectionMatrix
      • GetCorners
      • Planes
    • BBMOD_Gizmo
      • AngleSnap
      • ButtonDrag
      • EditAxis
      • EditSpace
      • EditType
      • EnableAngleSnap
      • EnableGridSnap
      • GetInstanceGlobalMatrix
      • GetInstancePositionX
      • GetInstancePositionY
      • GetInstancePositionZ
      • GetInstanceRotationX
      • GetInstanceRotationY
      • GetInstanceRotationZ
      • GetInstanceScaleX
      • GetInstanceScaleY
      • GetInstanceScaleZ
      • GridSize
      • InstanceExists
      • IsEditing
      • KeyCancel
      • KeyEditFaster
      • KeyEditSlower
      • KeyIgnoreSnap
      • KeyNextEditSpace
      • KeyNextEditType
      • MaterialsSelect
      • Models
      • Position
      • Rotation
      • Selected
      • SetInstancePositionX
      • SetInstancePositionY
      • SetInstancePositionZ
      • SetInstanceRotationX
      • SetInstanceRotationY
      • SetInstanceRotationZ
      • SetInstanceScaleX
      • SetInstanceScaleY
      • SetInstanceScaleZ
      • Size
      • clear_selection
      • get_instance_position_vec3
      • get_instance_rotation_vec3
      • get_instance_scale_vec3
      • is_selected
      • render
      • select
      • set_instance_position_vec3
      • set_instance_rotation_vec3
      • set_instance_scale_vec3
      • submit
      • toggle_select
      • unselect
      • update
      • update_position
    • BBMOD_GravityModule
      • Gravity
    • BBMOD_IEventListener
    • BBMOD_IRenderTarget
    • BBMOD_IRenderable
    • BBMOD_ImageBasedLight
      • Texel
      • Texture
    • BBMOD_Importer
      • FlipUVHorizontally
      • FlipUVVertically
      • can_import
      • import
    • BBMOD_Light
      • AffectLightmaps
      • CastShadows
      • Enabled
      • Position
      • ShadowmapResolution
    • BBMOD_MATERIAL_DEFAULT
    • BBMOD_MATERIAL_DEFAULT_LIGHTMAP
    • BBMOD_MATERIAL_DEFAULT_SPRITE
    • BBMOD_MATERIAL_DEFAULT_UNLIT
    • BBMOD_MATERIAL_PARTICLE_LIT
    • BBMOD_MATERIAL_PARTICLE_UNLIT
    • BBMOD_MATERIAL_SKY
    • BBMOD_MATERIAL_TERRAIN
    • BBMOD_MATERIAL_TERRAIN_UNLIT
    • BBMOD_MAX_BATCH_VEC4S
    • BBMOD_MAX_BONES
    • BBMOD_MODEL_PARTICLE
    • BBMOD_Material
      • AlphaBlend
      • AlphaTest
      • Anisotropy
      • BaseOpacity
      • BlendMode
      • Culling
      • Filtering
      • MipBias
      • MipFilter
      • MipMax
      • MipMin
      • Mipmapping
      • OnApply
      • RenderPass
      • RenderQueue
      • Repeat
      • ZFunc
      • ZTest
      • ZWrite
      • apply
      • clone
      • copy
      • from_json
      • get_shader
      • has_shader
      • remove_shader
      • reset
      • set_base_opacity
      • set_shader
      • to_json
    • BBMOD_Matrix
      • AddComponentwise
      • ApplyProjection
      • ApplyView
      • ApplyWorld
      • Clone
      • Copy
      • Determinant
      • FromArray
      • FromBuffer
      • FromColumns
      • FromLookAt
      • FromProjection
      • FromRows
      • FromView
      • FromWorld
      • FromWorldViewProjection
      • Inverse
      • Mul
      • MulComponentwise
      • Raw
      • RotateEuler
      • RotateQuat
      • RotateX
      • RotateY
      • RotateZ
      • Scale
      • ScaleComponentwise
      • ScaleX
      • ScaleY
      • ScaleZ
      • Set
      • SubComponentwise
      • ToArray
      • ToBuffer
      • ToEuler
      • Transform
      • Translate
      • TranslateX
      • TranslateY
      • TranslateZ
      • Transpose
    • BBMOD_Mesh
      • BboxMax
      • BboxMin
      • Frozen
      • MaterialIndex
      • Model
      • PrimitiveType
      • VertexBuffer
      • VertexFormat
      • clone
      • copy
      • freeze
      • from_buffer
      • render
      • submit
      • to_buffer
    • BBMOD_MeshBuilder
      • Faces
      • PrimitiveType
      • Vertices
      • add_face
      • add_vertex
      • build
      • make_tangents
    • BBMOD_MixColorFromHealthModule
      • From
      • Property
      • To
    • BBMOD_MixColorFromSpeedModule
      • From
      • Max
      • Min
      • Property
      • To
    • BBMOD_MixColorModule
      • From
      • Property
      • To
    • BBMOD_MixColorOverTimeModule
      • Duration
      • From
      • Property
      • To
    • BBMOD_MixEmissionModule
      • From
      • To
    • BBMOD_MixQuaternionFromHealthModule
      • From
      • Property
      • To
    • BBMOD_MixQuaternionFromSpeedModule
      • From
      • Max
      • Min
      • Property
      • To
    • BBMOD_MixQuaternionModule
      • From
      • Property
      • To
    • BBMOD_MixQuaternionOverTimeModule
      • Duration
      • From
      • Property
      • To
    • BBMOD_MixRealFromHealthModule
      • From
      • Property
      • To
    • BBMOD_MixRealFromSpeedModule
      • From
      • Max
      • Min
      • Property
      • To
    • BBMOD_MixRealModule
      • From
      • Property
      • To
    • BBMOD_MixRealOverTimeModule
      • Duration
      • From
      • Property
      • To
    • BBMOD_MixSpeedModule
      • From
      • To
    • BBMOD_MixVec2FromHealthModule
      • From
      • Property
      • To
    • BBMOD_MixVec2FromSpeedModule
      • From
      • Max
      • Min
      • Property
      • To
    • BBMOD_MixVec2Module
      • From
      • Property
      • Separate
      • To
    • BBMOD_MixVec2OverTimeModule
      • Duration
      • From
      • Property
      • To
    • BBMOD_MixVec3FromHealthModule
      • From
      • Property
      • To
    • BBMOD_MixVec3FromSpeedModule
      • From
      • Max
      • Min
      • Property
      • To
    • BBMOD_MixVec3Module
      • From
      • Property
      • Separate
      • To
    • BBMOD_MixVec3OverTimeModule
      • Duration
      • From
      • Property
      • To
    • BBMOD_MixVec4FromHealthModule
      • From
      • Property
      • To
    • BBMOD_MixVec4FromSpeedModule
      • From
      • Max
      • Min
      • Property
      • To
    • BBMOD_MixVec4Module
      • From
      • Property
      • Separate
      • To
    • BBMOD_MixVec4OverTimeModule
      • Duration
      • From
      • Property
      • To
    • BBMOD_Model
      • BoneCount
      • Frozen
      • MaterialCount
      • MaterialNames
      • Materials
      • Meshes
      • NodeCount
      • RootNode
      • VersionMajor
      • VersionMinor
      • VertexFormat OBSOLETE
      • clone
      • copy
      • find_node
      • find_node_id
      • freeze
      • from_buffer
      • get_material
      • get_vertex_format DEPRECATED
      • render
      • set_material
      • submit
      • to_buffer
    • BBMOD_NORMALS_FLAT
    • BBMOD_NORMALS_NONE
    • BBMOD_NORMALS_SMOOTH
    • BBMOD_Node
      • Children
      • Index
      • IsBone
      • IsRenderable
      • Meshes
      • Model
      • Name
      • Parent
      • Transform
      • Visible
      • add_child
      • clone
      • copy
      • from_buffer
      • render
      • set_renderable
      • submit
      • to_buffer
    • BBMOD_NotImplementedException
    • BBMOD_OBJImporter
      • ConvertYToZUp
      • InvertWinding
    • BBMOD_OutOfRangeException
    • BBMOD_ParticleEmitter
      • GridCompute
      • Particles
      • ParticlesAlive
      • Position
      • System
      • finished
      • render
      • spawn_particle
      • submit
      • update
    • BBMOD_ParticleMaterial
      • SoftDistance
    • BBMOD_ParticleModule
      • Enabled
      • on_finish
      • on_particle_finish
      • on_particle_start
      • on_start
      • on_update
    • BBMOD_ParticleShader
    • BBMOD_ParticleSystem
      • Duration
      • Loop
      • Material
      • Modules
      • ParticleCount
      • Sort
      • add_modules
    • BBMOD_PlaneCollider
      • Distance
      • Normal
    • BBMOD_PointLight
    • BBMOD_PostProcessor
      • Antialiasing
      • ChromaticAberration
      • ChromaticAberrationOffset
      • ColorGradingLUT
      • Enabled
      • Grayscale
      • Vignette
      • VignetteColor
      • draw
    • BBMOD_Property
      • Name
      • Private
      • Type
    • BBMOD_PunctualLight
      • Color
      • Range
    • BBMOD_Quaternion
      • Add
      • Clone
      • Conjugate
      • Copy
      • Dot
      • Exp
      • FromArray
      • FromAxisAngle
      • FromBuffer
      • FromEuler
      • FromLookRotation
      • GetAngle
      • GetAxis
      • Inverse
      • Length
      • LengthSqr
      • Lerp
      • Log
      • Mul
      • Normalize
      • Rotate
      • Scale
      • Slerp
      • ToArray
      • ToBuffer
      • ToMatrix
      • W
      • X
      • Y
      • Z
    • BBMOD_RESOURCE_MANAGER
    • BBMOD_RGBM_VALUE_MAX
    • BBMOD_RandomRotationModule
      • Axis
      • From
      • To
    • BBMOD_Ray
      • Direction
      • DrawDebug
      • Origin
      • Raycast
    • BBMOD_RaycastResult
      • Distance
      • Normal
      • Point
      • Reset
    • BBMOD_RenderQueue
      • Name
      • Priority
      • apply_material
      • begin_conditional_block
      • check_render_pass
      • clear
      • draw_mesh
      • draw_mesh_animated
      • draw_mesh_batched
      • end_conditional_block
      • is_empty
      • pop_gpu_state
      • push_gpu_state
      • reset_material
      • reset_shader
      • set_gpu_alphatestenable
      • set_gpu_alphatestref
      • set_gpu_blendenable
      • set_gpu_blendmode
      • set_gpu_blendmode_ext
      • set_gpu_blendmode_ext_sepalpha
      • set_gpu_colorwriteenable
      • set_gpu_cullmode
      • set_gpu_fog
      • set_gpu_tex_filter
      • set_gpu_tex_filter_ext
      • set_gpu_tex_max_aniso
      • set_gpu_tex_max_aniso_ext
      • set_gpu_tex_max_mip
      • set_gpu_tex_max_mip_ext
      • set_gpu_tex_min_mip
      • set_gpu_tex_min_mip_ext
      • set_gpu_tex_mip_bias
      • set_gpu_tex_mip_bias_ext
      • set_gpu_tex_mip_enable
      • set_gpu_tex_mip_enable_ext
      • set_gpu_tex_mip_filter
      • set_gpu_tex_mip_filter_ext
      • set_gpu_tex_repeat
      • set_gpu_tex_repeat_ext
      • set_gpu_zfunc
      • set_gpu_ztestenable
      • set_gpu_zwriteenable
      • set_priority
      • set_projection_matrix
      • set_sampler
      • set_shader
      • set_uniform_f
      • set_uniform_f2
      • set_uniform_f3
      • set_uniform_f4
      • set_uniform_f_array
      • set_uniform_i
      • set_uniform_i2
      • set_uniform_i3
      • set_uniform_i4
      • set_uniform_i_array
      • set_uniform_matrix
      • set_uniform_matrix_array
      • set_view_matrix
      • set_world_matrix
      • submit
      • submit_vertex_buffer
    • BBMOD_Resource
      • IsLoaded
      • Path
      • Persistent
      • free
      • from_buffer
      • from_file
      • from_file_async
      • ref
      • to_buffer
      • to_file
    • BBMOD_ResourceManager
      • Loading
      • add
      • async_image_loaded_update
      • async_save_load_update
      • clear
      • free
      • get
      • get_or_add
      • has
      • load
    • BBMOD_SHADER_CURRENT
    • BBMOD_SHADER_DEFAULT
    • BBMOD_SHADER_DEFAULT_DEPTH
    • BBMOD_SHADER_DEFAULT_LIGHTMAP
    • BBMOD_SHADER_DEFAULT_SPRITE
    • BBMOD_SHADER_DEFAULT_UNLIT
    • BBMOD_SHADER_INSTANCE_ID
    • BBMOD_SHADER_PARTICLE_DEPTH
    • BBMOD_SHADER_PARTICLE_LIT
    • BBMOD_SHADER_PARTICLE_UNLIT
    • BBMOD_SHADER_TERRAIN
    • BBMOD_SHADER_TERRAIN_UNLIT
    • BBMOD_SetColorModule
      • Property
      • Value
    • BBMOD_SetQuaternionModule
      • Property
      • Value
    • BBMOD_SetRealModule
      • Property
      • Value
    • BBMOD_SetVec2Module
      • Property
      • Value
    • BBMOD_SetVec3Module
      • Property
      • Value
    • BBMOD_SetVec4Module
      • Property
      • Value
    • BBMOD_Shader
      • Raw OBSOLETE
      • VertexFormat OBSOLETE
      • add_variant
      • get_name OBSOLETE
      • get_sampler_index OBSOLETE
      • get_uniform OBSOLETE
      • get_variant
      • has_variant
      • is_compiled
      • is_current
      • on_reset
      • on_set
      • reset
      • set
      • set_material
    • BBMOD_SphereCollider
      • Position
      • Radius
    • BBMOD_SphereEmissionModule
      • Inside
      • Radius
    • BBMOD_SpotLight
      • AngleInner
      • AngleOuter
      • Direction
    • BBMOD_Sprite
      • Height
      • Raw
      • Width
      • get_texture
    • BBMOD_State
      • IsActive
      • Name
      • OnEnter
      • OnExit
      • OnUpdate
      • StateMachine
      • get_duration
    • BBMOD_StateMachine
      • Finished
      • OnEnter
      • OnExit
      • OnPostUpdate
      • OnPreUpdate
      • OnStateChange
      • Started
      • State
      • add_state
      • change_state
      • finish
      • start
      • update
    • BBMOD_Terrain
      • Layer
      • Position
      • RenderQueue
      • Scale
      • Size
      • Splatmap
      • TextureRepeat
      • VertexBuffer
      • VertexFormat
      • build_layer_index
      • build_mesh
      • build_normals
      • build_smooth_normals
      • from_heightmap
      • get_height
      • get_height_index
      • get_layer
      • get_normal
      • get_random_position
      • in_bounds
      • render
      • smooth_height
      • submit
    • BBMOD_TerrainCollisionModule
      • Terrain
    • BBMOD_VEC3_FORWARD
    • BBMOD_VEC3_RIGHT
    • BBMOD_VEC3_UP
    • BBMOD_VERSION_MAJOR
    • BBMOD_VERSION_MINOR
    • BBMOD_VFORMAT_DEBUG
    • BBMOD_VFORMAT_DEFAULT
    • BBMOD_VFORMAT_DEFAULT_ANIMATED
    • BBMOD_VFORMAT_DEFAULT_BATCHED
    • BBMOD_VFORMAT_DEFAULT_LIGHTMAP
    • BBMOD_VFORMAT_DEFAULT_SPRITE
    • BBMOD_VFORMAT_PARTICLE
    • BBMOD_VFORMAT_PARTICLE_BATCHED
    • BBMOD_Vec2
      • Abs
      • Add
      • Ceil
      • Clamp
      • ClampLength
      • Clone
      • Copy
      • Dot
      • Equals
      • Floor
      • Frac
      • FromArray
      • FromBarycentric
      • FromBuffer
      • Get
      • Length
      • LengthSqr
      • Lerp
      • MaxComponent
      • Maximize
      • MinComponent
      • Minimize
      • Mul
      • Normalize
      • Reflect
      • Round
      • Scale
      • Set
      • SetIndex
      • Sub
      • ToArray
      • ToBuffer
      • Transform
      • X
      • Y
    • BBMOD_Vec3
      • Abs
      • Add
      • Ceil
      • Clamp
      • ClampLength
      • Clone
      • Copy
      • Cross
      • Dot
      • Equals
      • Floor
      • Frac
      • FromArray
      • FromBarycentric
      • FromBuffer
      • Get
      • Length
      • LengthSqr
      • Lerp
      • MaxComponent
      • Maximize
      • MinComponent
      • Minimize
      • Mul
      • Normalize
      • Orthonormalize
      • Reflect
      • Round
      • Scale
      • Set
      • SetIndex
      • Sub
      • ToArray
      • ToBuffer
      • Transform
      • X
      • Y
      • Z
    • BBMOD_Vec4
      • Abs
      • Add
      • Ceil
      • Clamp
      • ClampLength
      • Clone
      • Copy
      • Dot
      • Equals
      • Floor
      • Frac
      • FromArray
      • FromBarycentric
      • FromBuffer
      • Get
      • Length
      • LengthSqr
      • Lerp
      • MaxComponent
      • Maximize
      • MinComponent
      • Minimize
      • Mul
      • Normalize
      • Reflect
      • Round
      • Scale
      • Set
      • SetIndex
      • Sub
      • ToArray
      • ToBuffer
      • Transform
      • W
      • X
      • Y
      • Z
    • BBMOD_Vertex
      • Bones
      • Color
      • Id
      • Normal
      • Position
      • TangentW
      • TextureCoord
      • VertexFormat
      • Weights
      • to_vertex_buffer
    • BBMOD_VertexFormat
      • Bones
      • Colors
      • Ids
      • Normals
      • Raw
      • TangentW
      • TextureCoords
      • TextureCoords2
      • Vertices
      • get_byte_size
      • get_hash
    • bbmod_array_clone
    • bbmod_array_from_buffer
    • bbmod_array_to_buffer
    • bbmod_async_image_loaded_update
    • bbmod_async_save_load_update
    • bbmod_buffer_load_async
    • bbmod_camera_get_exposure
    • bbmod_camera_get_position
    • bbmod_camera_get_zfar
    • bbmod_camera_set_exposure
    • bbmod_camera_set_position
    • bbmod_camera_set_zfar
    • bbmod_class_get_name
    • bbmod_cmp
    • bbmod_empty_callback
    • bbmod_fog_get_color
    • bbmod_fog_get_end
    • bbmod_fog_get_intensity
    • bbmod_fog_get_start
    • bbmod_fog_set
    • bbmod_fog_set_color
    • bbmod_fog_set_end
    • bbmod_fog_set_intensity
    • bbmod_fog_set_start
    • bbmod_get_calling_function_name
    • bbmod_gpu_get_default_state
    • bbmod_ibl_get
    • bbmod_ibl_set
    • bbmod_instance_from_buffer
    • bbmod_instance_to_buffer
    • bbmod_is_class
    • bbmod_json_load
    • bbmod_lerp_delta_time
    • bbmod_light_ambient_get_affect_lightmaps
    • bbmod_light_ambient_get_down
    • bbmod_light_ambient_get_up
    • bbmod_light_ambient_set
    • bbmod_light_ambient_set_affect_lightmaps
    • bbmod_light_ambient_set_down
    • bbmod_light_ambient_set_up
    • bbmod_light_directional_get
    • bbmod_light_directional_set
    • bbmod_light_punctual_add
    • bbmod_light_punctual_clear
    • bbmod_light_punctual_count
    • bbmod_light_punctual_get
    • bbmod_light_punctual_remove
    • bbmod_light_punctual_remove_index
    • bbmod_lightmap_get
    • bbmod_lightmap_set
    • bbmod_load_instances_from_buffer
    • bbmod_material_exists
    • bbmod_material_get
    • bbmod_material_register
    • bbmod_material_reset
    • bbmod_matrix_build_normalmatrix
    • bbmod_mesh_to_colmesh
    • bbmod_model_to_colmesh
    • bbmod_object_add_bool
    • bbmod_object_add_color
    • bbmod_object_add_gmfont
    • bbmod_object_add_gmobject
    • bbmod_object_add_gmpath
    • bbmod_object_add_gmroom
    • bbmod_object_add_gmscript
    • bbmod_object_add_gmshader
    • bbmod_object_add_gmsound
    • bbmod_object_add_gmsprite
    • bbmod_object_add_gmtileset
    • bbmod_object_add_gmtimeline
    • bbmod_object_add_matrix
    • bbmod_object_add_path
    • bbmod_object_add_property
    • bbmod_object_add_quaternion
    • bbmod_object_add_real
    • bbmod_object_add_real_array
    • bbmod_object_add_string
    • bbmod_object_add_vec2
    • bbmod_object_add_vec3
    • bbmod_object_add_vec4
    • bbmod_object_get_property_array
    • bbmod_object_get_property_map
    • bbmod_path_get_absolute
    • bbmod_path_get_relative
    • bbmod_path_is_absolute
    • bbmod_path_is_relative
    • bbmod_path_normalize
    • bbmod_render_pass_from_string
    • bbmod_render_pass_get
    • bbmod_render_pass_set
    • bbmod_render_pass_to_string
    • bbmod_render_queue_get_default
    • bbmod_render_queues_get
    • bbmod_save_instances_to_buffer
    • bbmod_set_instance_id
    • bbmod_shader_clear_globals
    • bbmod_shader_exists
    • bbmod_shader_get
    • bbmod_shader_get_global
    • bbmod_shader_register
    • bbmod_shader_set_global_f
    • bbmod_shader_set_global_f2
    • bbmod_shader_set_global_f3
    • bbmod_shader_set_global_f4
    • bbmod_shader_set_global_f_array
    • bbmod_shader_set_global_i
    • bbmod_shader_set_global_i2
    • bbmod_shader_set_global_i3
    • bbmod_shader_set_global_i4
    • bbmod_shader_set_global_i_array
    • bbmod_shader_set_global_matrix
    • bbmod_shader_set_global_matrix_array
    • bbmod_shader_set_global_sampler
    • bbmod_shader_set_global_sampler_filter
    • bbmod_shader_set_global_sampler_max_aniso
    • bbmod_shader_set_global_sampler_max_mip
    • bbmod_shader_set_global_sampler_min_mip
    • bbmod_shader_set_global_sampler_mip_bias
    • bbmod_shader_set_global_sampler_mip_enable
    • bbmod_shader_set_global_sampler_mip_filter
    • bbmod_shader_set_global_sampler_repeat
    • bbmod_shader_unset_global
    • bbmod_sprite_add_async
    • bbmod_ssao_draw
    • bbmod_string_explode
    • bbmod_string_join_array
    • bbmod_string_split_on_first
    • bbmod_string_starts_with
    • bbmod_surface_check
    • bbmod_texture_set_stage_vs
    • bbmod_vtf_is_supported
    • BBMOD_LightmapMaterial DEPRECATED
    • BBMOD_LightmapShader DEPRECATED
    • BBMOD_MATERIAL_DEFAULT_ANIMATED DEPRECATED
    • BBMOD_MATERIAL_DEFAULT_BATCHED DEPRECATED
    • BBMOD_MATERIAL_LIGHTMAP DEPRECATED
    • BBMOD_MATERIAL_SPRITE DEPRECATED
    • BBMOD_Renderer DEPRECATED
    • BBMOD_SHADER_DEFAULT_ANIMATED DEPRECATED
    • BBMOD_SHADER_DEFAULT_BATCHED DEPRECATED
    • BBMOD_SHADER_DEPTH DEPRECATED
    • BBMOD_SHADER_DEPTH_ANIMATED DEPRECATED
    • BBMOD_SHADER_DEPTH_BATCHED DEPRECATED
    • BBMOD_SHADER_INSTANCE_ID_ANIMATED DEPRECATED
    • BBMOD_SHADER_INSTANCE_ID_BATCHED DEPRECATED
    • BBMOD_SHADER_LIGHTMAP DEPRECATED
    • BBMOD_SHADER_LIGHTMAP_DEPTH DEPRECATED
    • BBMOD_SHADER_LIGHTMAP_INSTANCE_ID DEPRECATED
    • BBMOD_SHADER_SPRITE DEPRECATED
    • BBMOD_StaticBatch DEPRECATED
      • add
      • finish
      • freeze
      • render
      • start
      • submit
    • BBMOD_VFORMAT_LIGHTMAP DEPRECATED
    • BBMOD_VFORMAT_SPRITE DEPRECATED
    • bbmod_light_point_add DEPRECATED
    • bbmod_light_point_clear DEPRECATED
    • bbmod_light_point_count DEPRECATED
    • bbmod_light_point_get DEPRECATED
    • bbmod_light_point_remove DEPRECATED
    • bbmod_light_point_remove_index DEPRECATED
  • Links
  1. Modules
  2. Save module

Save module

Using this module you can define serializable properties of objects and save and load instances to and from buffers.

Scripting API

Functions

  • bbmod_instance_from_buffer
  • bbmod_instance_to_buffer
  • bbmod_load_instances_from_buffer
  • bbmod_object_add_bool
  • bbmod_object_add_color
  • bbmod_object_add_gmfont
  • bbmod_object_add_gmobject
  • bbmod_object_add_gmpath
  • bbmod_object_add_gmroom
  • bbmod_object_add_gmscript
  • bbmod_object_add_gmshader
  • bbmod_object_add_gmsound
  • bbmod_object_add_gmsprite
  • bbmod_object_add_gmtileset
  • bbmod_object_add_gmtimeline
  • bbmod_object_add_matrix
  • bbmod_object_add_path
  • bbmod_object_add_property
  • bbmod_object_add_property
  • bbmod_object_add_quaternion
  • bbmod_object_add_real_array
  • bbmod_object_add_real
  • bbmod_object_add_string
  • bbmod_object_add_vec2
  • bbmod_object_add_vec3
  • bbmod_object_add_vec4
  • bbmod_object_get_property_array
  • bbmod_object_get_property_map
  • bbmod_save_instances_to_buffer
Do you find this page helpful?

Copyright © 2023, BlueBurn. Built on February 04, 2023 using GMDoc.

Thank you for your feedback!
0 / 255