search
/
·
Intro
expand_more
Guides
·
Getting started
·
WebGPU canvas
·
Drawing and animation
·
Scene geometry
·
2D and 3D plot
·
Data-driven geometry
·
Live vs React
·
Memoization
·
WGSL Shaders
·
Renderers and Passes
·
Layout and UI
·
Background
·
Roadmap
·
Contributing
Reference
expand_more
Components
chevron_right
@use-gpu/gltf
chevron_right
@use-gpu/inspect
chevron_right
@use-gpu/inspect-gpu
chevron_right
@use-gpu/layout
chevron_right
@use-gpu/map
expand_more
@use-gpu/plot
widgets
Arrow
widgets
Axis
widgets
Cartesian
widgets
Embedded
widgets
Face
widgets
Grid
widgets
ImplicitSurface
widgets
InnerFace
widgets
InnerLine
widgets
Label
widgets
Line
widgets
Plot
widgets
Point
widgets
Polar
widgets
Polygon
widgets
Sampled
widgets
Sampler
widgets
Scale
widgets
Scissor
widgets
Spherical
widgets
Stereographic
widgets
Stereographic4D
widgets
Surface
widgets
Tensor
widgets
Tick
widgets
Transform
widgets
Transform4D
widgets
Transpose
phishing
useDataContext
phishing
useNoRangeContext
phishing
useRangeContext
east
AnchorTrait
east
ArrowSegmentsTrait
east
ArrowTrait
east
ArrowTraits
east
AxesTrait
east
AxisTrait
east
ColorsTrait
east
ColorTrait
east
composeTransform
east
CompositeColorsTrait
east
CompositeVerticesTrait
east
ConcaveTrait
east
DataTrait
east
DirectedsTrait
east
DirectedTrait
east
FaceSegmentsTrait
east
FacetedTrait
east
FacetedVerticesTrait
east
FaceTrait
east
FaceTraits
east
FontTrait
east
formatNumber
east
GenericColorsTrait
east
GridTrait
east
ImplicitSurfaceTraits
east
invertBasis
east
invertBasisSlow
east
LabelsTrait
east
LabelTrait
east
LabelTraits
east
linear
east
LineSegmentsTrait
east
LineTrait
east
LineTraits
east
logarithmic
east
Loop2DTrait
east
Loop3DTrait
east
LoopsTrait
east
LoopTrait
east
makeSwizzleMatrix
east
MarkerTrait
east
Object4DTrait
east
ObjectTrait
east
PointTrait
east
PointTraits
east
recenterAxis
east
ROPTrait
east
rotateBasis
east
rotateBasisSlow
east
ScaleTrait
east
SegmentsTrait
east
StringsTrait
east
StringTrait
east
StrokeTrait
east
SurfaceTraits
east
swizzleMatrix
east
TickTraits
east
toBasis
east
toOrder
east
VerticesTrait
east
ZIndexTrait
input
DataContext
input
RangeContext
data_object
INVERT_BASIS
data_object
ROTATE_BASIS
title
Axis4
title
DataContextProps
title
DomainOptions
title
RangeContextProps
title
Swizzle
chevron_right
@use-gpu/present
chevron_right
@use-gpu/react
chevron_right
@use-gpu/scene
chevron_right
@use-gpu/voxel
chevron_right
@use-gpu/webgpu
chevron_right
@use-gpu/workbench
chevron_right
Libraries
chevron_right
Live/React
chevron_right
Loaders
chevron_right
Development

widgets Component – <Transform>

const Transform: LiveComponent<TransformProps>

Props

{ axes?: string | number[] | undefined; range?: ArrayLike[] | undefined; } &
{ position?: VectorLike | undefined; scale?: number | VectorLike | undefined; quaternion?: VectorLike | undefined; rotation?: number | VectorLike | undefined; matrix?: VectorLike | undefined; } & {
  children?:
  | LiveElement<ArrowFunction>[]
  | ReactElementInterop
  | DeferredCall<any>,
}

Source

packages / plot / src / view / transform.ts

menu
format_list_numbered