Optional castIf the object should cast shadows
true
Optional color?: ColorRepresentationThe color of the object. This color will only be used if no material is provided
Optional material?: MaterialThe material to apply to the object
Optional name?: stringThe name of the object
Optional parent?: Object3DThe parent object to add the created object to
Optional position?: Vec3 | [number, number, number]The position of the object in local space
Optional receiveIf the object should receive shadows
true
Optional rotation?: Vec3 | [number, number, number]The rotation of the object in local space
Optional scale?: Vec3 | numberThe scale of the object in local space
Optional texture?: TextureThe texture will applied to the material's main texture slot e.g. material.map if any is passed in
Generated using TypeDoc
Options to create an object. Used by ObjectUtils.createPrimitive