Trait GeometryExtension

Source
pub trait GeometryExtension {
    // Required methods
    fn create_position_attribute(
        &self,
        part: &PartInfo,
    ) -> Result<NumericAttr<f32>>;
    fn create_point_color_attribute(
        &self,
        part: &PartInfo,
    ) -> Result<NumericAttr<f32>>;
    fn get_color_attribute(
        &self,
        part: &PartInfo,
        owner: AttributeOwner,
    ) -> Result<Option<NumericAttr<f32>>>;
    fn get_normal_attribute(
        &self,
        part: &PartInfo,
        owner: AttributeOwner,
    ) -> Result<Option<NumericAttr<f32>>>;
    fn get_position_attribute(
        &self,
        part: &PartInfo,
    ) -> Result<Option<NumericAttr<f32>>>;
}

Required Methods§

Implementors§