Enum three::object::ObjectType
source · pub enum ObjectType {
AudioSource(Source),
AmbientLight(Ambient),
DirectionalLight(Directional),
HemisphereLight(Hemisphere),
PointLight(Point),
Mesh(Mesh),
Group(Group),
Skeleton(Skeleton),
Bone(Bone),
Sprite(Sprite),
Text(Text),
Camera(Camera),
}
Expand description
The possible concrete types that a Base
can be resolved to.
When using SyncGuard::resolve_data
with a Base
, it returns an ObjectType
containing the concrete object for the Base
.
Variants
AudioSource(Source)
An audio source.
AmbientLight(Ambient)
An ambient light.
DirectionalLight(Directional)
A directional light.
HemisphereLight(Hemisphere)
A hemisphere light.
PointLight(Point)
A point light.
Mesh(Mesh)
A mesh.
Group(Group)
A group.
Skeleton(Skeleton)
A skeleton.
Bone(Bone)
A bone in a skeleton.
Sprite(Sprite)
A 2D sprite.
Text(Text)
A UI text object.
Camera(Camera)
A camera.
Trait Implementations
sourceimpl Clone for ObjectType
impl Clone for ObjectType
sourcefn clone(&self) -> ObjectType
fn clone(&self) -> ObjectType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl !RefUnwindSafe for ObjectType
impl !Send for ObjectType
impl !Sync for ObjectType
impl Unpin for ObjectType
impl !UnwindSafe for ObjectType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.