toD method

LightD toD([
  1. Pointer<LightC>? ptr
])

Implementation

LightD toD([Pointer<LightC>? ptr]) => .new(
  originalPointer: ptr,
  type: .fromValue(type),
  enabled: enabled,
  position: position.toD(),
  target: target.toD(),
  color: color.toD(),
  attenuation: attenuation,
  enabledLoc: enabledLoc,
  typeLoc: typeLoc,
  positionLoc: positionLoc,
  targetLoc: targetLoc,
  colorLoc: colorLoc,
  attenuationLoc: attenuationLoc,
);