pub struct MeshSourceConfig {
pub primitive_type: Option<String>,
pub fbx_path: Option<String>,
pub gltf_path: Option<String>,
pub active_layers: Vec<u32>,
}Expand description
Mesh source config for FBX/GLTF/primitive references in packs.
Fields§
§primitive_type: Option<String>Built-in primitive type (e.g., “Cube”, “Sphere”). Mutually exclusive with paths.
fbx_path: Option<String>Path to FBX binary file (relative to pack root).
gltf_path: Option<String>Path to GLTF file (relative to pack root).
active_layers: Vec<u32>Topology layers this mesh is active on.
Trait Implementations§
Source§impl Clone for MeshSourceConfig
impl Clone for MeshSourceConfig
Source§fn clone(&self) -> MeshSourceConfig
fn clone(&self) -> MeshSourceConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MeshSourceConfig
impl Debug for MeshSourceConfig
Source§impl<'de> Deserialize<'de> for MeshSourceConfig
impl<'de> Deserialize<'de> for MeshSourceConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MeshSourceConfig
impl RefUnwindSafe for MeshSourceConfig
impl Send for MeshSourceConfig
impl Sync for MeshSourceConfig
impl Unpin for MeshSourceConfig
impl UnsafeUnpin for MeshSourceConfig
impl UnwindSafe for MeshSourceConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more