Skip to content

ubi resource

ubi resource file structure

Name Type Description
magic FileMagic Magic signature.
version uint32 Global version. Individual resource types can have different binary contents depending on this version.
resource UbiResource

UbiResource structure

Name Type Description
type UbiResourceType
data ... Data according to type.

UbiResourceType string

An UbiResourceType identifies the type of ubi resource that follows immediately after it.

This string value table might not be complete!

Value
"ares::ArrayVertexIndex"
"ares::ArrayVertexPos"
"ares::ArrayVertexNormal"
"ares::ArrayVertexColor"
"ares::ArrayVertexTexCoord"
"ares::ArrayVertexBlendingIndex"
"ares::ArrayVertexBlendingWeight"
"ares::UserArray"
"ares::SkinningParameters"
"ares::IndexedTriangleStrip"
"ares::IndexedTriangleList"
"ares::PointList"
"ares::LineList"
"ares::SpriteList"
"ares::SpriteList2D"
"ares::InterleavedPrimitive"
"ares::RenderTask"
"ares::Matrix"
"ares::RenderState"
"ares::Texture"
"ares::TextureFrame"
"ares::CameraOrthogonal"
"ares::CameraPerspective"
"ares::RenderMethod"
"ares::Effect"
"ares::Light"
"ares::ExternalDataContainer"
"ares_tools::Font"
"astra_renderer::ParticleSystemExternalData"
"astra_renderer::RendererNodeAres"
"atlas::CameraOrthogonal"
"atlas::CameraPerspective"
"atlas::GeometricInstance"
"atlas::GeometricInstanceLOD"
"atlas::Node"
"atlas::Light"
"MORE::Animation"
"MORE::Clip"
"MOREActor::ActorModel"
"MOREActor::SoundTable"
"snd::Familly"
"snd::InitValueConst < ubiU32 >"
"snd::InitValueRange < ubiU32 >"
"snd::InitValueSequence < ubiU32 >"
"snd::InitValueConst < ubiS32 >"
"snd::InitValueRange < ubiS32 >"
"snd::InitValueSequence < ubiS32 >"
"snd::InitValueConst < ubiF32 >"
"snd::InitValueRange < ubiF32 >"
"snd::InitValueSequence < ubiF32 >"
"snd::InitValueConst < ubi::Vector3 >"
"snd::InitValueRange < ubi::Vector3 >"
"snd::InitValueSequence < ubi::Vector3 >"
"snd::VirtualPanning"
"snd::Project"
"snd::FamillyPlaying"
"snd::FamillyPlayingSound"
"snd::Sequence"
"snd::Setting"
"snd::Sound"
"snd::SoundList"

UbiSubResource structure

A UbiSubResource can be either a reference to an external ubi resource file, or contain an embedded UbiResource.

Name Type Condition Description
path BasicString Virtual path to ubi resource file (only if path.len != 0).
resource UbiResource path.len == 0 Embedded resource.

ValidatedUbiSubResource structure

Name Type Condition
isValid bool
resource UbiSubResource isValid